markItDown
📱 A React app to preview and edit Markdown✍. You can also export it as HTML.
Edit HTML files visually.
git clone https://github.com/urin/vscode-web-visual-editor.giturin/vscode-web-visual-editorEdit HTML files visually in real-time.
settings.json)webVisualEditor.enableMovingElementsEnable drag-to-move and keyboard nudge for positioned elements. Default: false.
Tip
When enableMovingElements is enabled, moving an element rewrites its tag using VSCode's HTML formatting. To avoid inconsistent indentation, format the entire document before starting visual editing (Shift+Alt+F).
webVisualEditor.allowScriptAllow <script> tags and on* event attributes to run inside the WebView. Default: false.
webVisualEditor.rootPathRoot directory for resolving root-relative paths (e.g. /styles/main.css). Specified as a path relative to the workspace root. Must be inside the workspace. Defaults to the workspace root.
Note
Absolute paths are not supported. Since both absolute paths and root-relative paths begin with / on Unix-like systems, they cannot be distinguished. Paths starting with / are always interpreted as root-relative.
webVisualEditor.globalScriptsList of scripts to inject into all HTML pages in the preview. Each entry is either a URL or a local path.
Note
globalScripts takes effect only when allowScript is true.
// settings.json
{
"webVisualEditor.allowScript": true,
"webVisualEditor.globalScripts": [
"https://cdn.tailwindcss.com", // CDN URL
"/scripts/inject.js" // root-relative path
]
}
Tip
Root-relative paths in globalScripts are resolved using rootPath.
Local script files are tracked: saving them automatically refreshes the preview.
Ctrl+Click adds or removes an element from the current selection.enableMovingElements)An element is draggable when all of the following are true:
position is not static or stickyleft/right are not both set simultaneously (same for top/bottom)px units — other units (%, em, rem, etc.) make the element non-movable<body> if nothing is selected). If the clipboard contains valid HTML it is inserted as-is; plain text is HTML-escaped first. The inserted range is then reformatted by VSCode's HTML formatter.This extension is similar to microsoft/vscode-livepreview and it differs in the following points:
Empower my motivation brewing and accelerate development by buying me a coffee!
more like this
📱 A React app to preview and edit Markdown✍. You can also export it as HTML.
search projects, people, and tags