Artifact-style Markdown editor for VS Code with Ant Design visuals, JetBrains
Mono (Vietnamese subset), working local links, auto reload, PDF export and
copy buttons.
Features
*.md opens in local.devvnMarkdown.editor (set in user settings).
Click relative links like ](../wp-content/a.ts#L10-L12) to open the target
file at that line range. URI-scheme links are ignored.
Toolbar:
Export PDF → window.print(), choose "Save as PDF".
Copy all → copies the raw Markdown source.
Each fenced code block has a Copy button (top-right) for the full code.
Each table has a Copy button (top-right) that copies TSV.
The webview reloads automatically when the Markdown file changes on disk.
Right-click a .md file → Edit opens the raw text editor (local.md-edit).
Revert
Change workbench.editorAssociations["*.md"] in VS Code settings to
vscode.markdown.editor or vscode.markdown.preview.editor.
Files
extension.js — provider, toolbar, clipboard, auto reload
src/render.js — sanitized Markdown renderer with copy affordances
src/parse-link.js — relative link + #L range parser
src/watch.js — debounced file watcher
media/style.css, media/fonts/JetBrainsMono.woff2
test/*.test.js — Node tests
Run all tests: for t in test/*.test.js; do node "$t"; done