VS Code Extension: HTML-Markdown Converter
This extension provides bidirectional conversion between HTML and Markdown directly in VS Code.
Features
- Convert HTML to Markdown
- Convert Markdown to HTML
- Works on selected text or entire file
- Keyboard shortcuts for quick access
- Context menu integration
Usage
Commands
Convert HTML to Markdown - Convert HTML content to Markdown
Convert Markdown to HTML - Convert Markdown content to HTML
Keyboard Shortcuts
- HTML to Markdown:
Cmd+Alt+M (Mac) / Ctrl+Alt+M (Windows/Linux)
- Markdown to HTML:
Cmd+Alt+H (Mac) / Ctrl+Alt+H (Windows/Linux)
Right-click in the editor and select the conversion option from the context menu.
Installation
From Marketplace
- Open VS Code
- Go to Extensions (Cmd+Shift+X)
- Search for "HTML-Markdown Converter"
- Click Install
From Source
- Clone the repository
- Navigate to
vscode-extension directory
- Run
npm install
- Run
npm run package
- Install the generated
.vsix file
Development
cd vscode-extension
npm install
code .
Press F5 to open a new VS Code window with the extension loaded.
License
MIT
| |