Useful Markdown Editor
Useful Markdown Editor is a custom VS Code editor for .md and .markdown files powered by Milkdown Crepe.
Features
- Rich markdown editing experience with GFM support
- Tables, code blocks, toolbar, link tooltip, list item controls, and LaTeX
- Image paste support that saves files into
assets/ next to the current markdown file
- Real-time syncing with the underlying document
Usage
- Open a
.md or .markdown file.
- VS Code opens it with
Useful Markdown Editor (custom editor).
- Paste images directly from clipboard to save and insert markdown links.
Development
From repository root:
npm run build
This builds both the webview app and extension bundle.
Packaging
From useful-markdown-editor/:
npm run package:vsix
This will:
- Build the webview bundle.
- Bundle extension code.
- Copy webview assets into the extension package.
- Create a
.vsix file.
Publishing
- Set
publisher in package.json to your actual publisher ID.
- Create a Personal Access Token with Marketplace manage scope.
- Login once:
npx @vscode/vsce login <publisher-id>
- Publish:
npm run publish:patch
You can also use publish:minor or publish:major.
| |