Opening Markdown in Vim launches a browser preview that updates as you edit and closes when you leave the buffer, using GitHub-flavored styling.
Overview
Vim Instant Markdown pairs the Vim editor with a small local server so Markdown is rendered in a browser while you write. The preview tracks edits in real time instead of forcing manual refresh or a separate web editor.
GitHub-flavored Markdown is supported, and preview styling matches what GitHub uses for rendered pages. A Node-based mini-server or an alternative Python server with pandoc handles compilation; the Vim plugin talks to that server automatically or on demand.
On Linux you need utilities such as xdg-utils, curl, and Node.js; Windows needs cURL on PATH. Neovim users may use a Lua rewrite that stays compatible with the same mini-server. Commands include manual start and stop when autostart is disabled.
Supported environments are macOS, Linux, and Windows, with platform-specific caveats around background browser launch on Linux and async execution on Windows.
Key features
- Real-time Markdown preview
- GitHub-flavored rendering
- Auto-open on buffer enter
- Manual preview commands
- Compatible mini-server protocol
- Plugin manager integration
- GitHub-like preview CSS
Use cases
- Editing README files in Vim
- Writing docs with live preview
- Blog drafts in Markdown
- Note review before publishing