A VS Code extension that copies the active Markdown document to your clipboard as Medium-ready rich HTML — ready to paste straight into the Medium editor with all heading styles, code blocks, and formatting intact.
Usage
- Open a Markdown file.
- Run Markdown to Medium: Copy as Medium HTML from the Command Palette, or click the
$(clippy) Mediumbutton in the status bar. - Paste into the Medium editor.
The command operates on the full in-memory document (unsaved edits included).
Requirements
- VS Code 1.90+
- Node.js ≥ 20 (bundled with VS Code on desktop — no separate install needed)
- Linux only: one of
wl-clipboard(Wayland),xclip, orxselmust be installed for clipboard access
How it works
Powered by md-to-medium. HTML is written to the clipboard using OS-native tools so that the text/html MIME type is preserved — plain-text clipboard writes are rejected by Medium's editor.
Local install from VSIX
npm run package
code --install-extension markdown-to-medium-vscode-*.vsix
Installing a locally built VSIX bypasses the marketplace. VS Code may show an "extension is not from the marketplace" warning — this is expected when using a local build instead of the published version.
License
MIT, do what you will.