Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Markdown Share / Publish MD as Web PageNew to Visual Studio Code? Get it now.
Markdown Share / Publish MD as Web Page

Markdown Share / Publish MD as Web Page

licc

|
2 installs
| (0) | Free
One-click share Markdown as a beautiful web page on htmlto.link. Open any .md and click Share on the title bar; guest links last ~24h, set a Token for longer-lived shares.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Markdown Share / Publish MD as Web Page

One-click share Markdown as a beautiful web page, hosted by htmlto.link.


Quick Start

  1. Open any .md file
  2. Click the globe icon in the editor title bar, or right-click the file → Share
  3. Pick a template (and theme if available), then click Share
  4. Copy the link and send it to anyone

Demo

Quick Markdown Share Demo


Guest vs Token

Mode Description
Guest (default) No sign-up. Links expire in about 24 hours.
Token Register at htmlto.link, copy your Token from Settings. Shares are tied to your account for longer retention and updates.

In the share panel you can see the current mode, Set / Clear Token, or open the settings page.
You can also run Quick Markdown Share: Open Token Settings from the Command Palette.


Commands

Command Description
Quick Markdown Share: Share Open the share panel
Quick Markdown Share: Delete Share for Current File Delete the share for the current file
Quick Markdown Share: Open Token Settings Set or clear Token (leave empty to clear)

Update & Delete

  • Update: Share the same file again to update the existing link (the panel shows “Already shared”).
  • Delete: Command Palette → Delete Share for Current File.

Settings

Setting Default Description
htmlToLinkMd.apiBaseUrl https://htmlto.link API base URL (usually no change needed)
htmlToLinkMd.defaultTemplate plain Default template
htmlToLinkMd.autoCopyUrl true Copy link to clipboard on success
htmlToLinkMd.openInBrowser false Open link in browser on success

Token is stored in VS Code Secret Storage and is not written to workspace files.


First-run tips

On first activation you get a short toast; the first time you open the share panel there is a 3-step guide. Dismiss once and it won’t show again.

The share panel also has a 中文 / EN switch for the panel UI (independent of this details page).


Related

  • Website: https://htmlto.link
  • HTML site publish extension: search HTML Deploy / Static Site Publish (folder deploy)

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft