Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Neovim
  3. nvim-markdown-preview

nvim-markdown-preview

GPL-3.0CSS

A Neovim plugin for live browser previews of Markdown files using pandoc and live-server.

GitHubGitHub
112 stars17 forks0 contributors

What is nvim-markdown-preview?

nvim-markdown-preview is a Neovim plugin that provides live previews of Markdown files directly in a web browser. It uses pandoc for conversion and live-server for serving, updating the preview automatically when the file is saved. This solves the problem of needing to manually refresh or leave the editor to see rendered Markdown changes.

Target Audience

Neovim users who write Markdown documentation, blog posts, or technical notes and want an integrated preview workflow. It's particularly useful for writers and developers who prefer staying within their editor environment.

Value Proposition

Developers choose this plugin for its simplicity and reliability, leveraging established tools like pandoc and live-server rather than reinventing the wheel. Its asynchronous operation via Neovim's job-control API ensures a non-blocking editing experience with automatic browser reloads on save.

Overview

Markdown preview for neovim using pandoc and live-server

Use Cases

Best For

  • Writing Markdown documentation in Neovim with live browser previews.
  • Previewing GitHub Flavored Markdown with custom themes like GitHub, Solarized Dark, or Solarized Light.
  • Rendering LaTeX mathematical expressions in Markdown using KaTeX integration.
  • Serving local assets such as images from the current working directory in Markdown previews.
  • Using pandoc's flexible input formats for Markdown conversion within Neovim.
  • Setting up an automatic preview workflow with autocmd to open previews on file type detection.

Not Ideal For

  • Users needing real-time, character-by-character preview updates while typing
  • Environments where installing pandoc and Node.js (for live-server) is impractical or restricted
  • Projects requiring extensive theme customization or a wide variety of built-in visual styles
  • Traditional Vim users, as it exclusively leverages Neovim's job-control API

Pros & Cons

Pros

Asynchronous Performance

Leverages Neovim's job-control API to run previews in the background, keeping the editor responsive while handling Markdown conversion and serving.

Robust Tool Integration

Relies on established tools like pandoc for flexible markdown formats and live-server for auto-reloading, ensuring reliable preview generation without reinventing the wheel.

Math Equation Support

Integrates KaTeX to render LaTeX mathematical expressions in the preview, making it suitable for technical documentation and academic writing.

Local Asset Handling

Serves images and other assets directly from the current working directory, allowing embedded media in Markdown files without external hosting requirements.

Cons

No Real-Time Updates

Preview only refreshes on save, not while typing, as admitted in the README's Q&A, which limits immediate feedback compared to live-editing plugins.

External Dependencies Required

Requires separate installation of pandoc and live-server, adding setup complexity and potential system compatibility issues, as outlined in the Requirements section.

Limited Theme Options

Offers only three built-in themes (github, solarized-dark, solarized-light), restricting styling choices without built-in support for custom CSS injection.

Frequently Asked Questions

Quick Stats

Stars112
Forks17
Contributors0
Open Issues5
Last commit3 years ago
CreatedSince 2018

Tags

#live-server#editor-tool#markdown-preview#syntax-highlighting#asynchronous#neovim-plugin#katex#pandoc

Built With

l
live-server
P
Pandoc
N
Neovim
N
Node.js
L
Lua

Included in

Neovim20.6k
Auto-fetched 10 hours ago

Related Projects

markdown-preview.nvimmarkdown-preview.nvim

markdown preview plugin for (neo)vim

Stars7,991
Forks411
Last commit2 years ago
render-markdown.nvimrender-markdown.nvim

Improve viewing Markdown in Neovim

Stars5,000
Forks137
Last commit27 days ago
markview.nvimmarkview.nvim

A hackable markdown, Typst, latex, html(inline) & Asciidoc previewer for Neovim

Stars3,626
Forks106
Last commit25 days ago
peek.nvimpeek.nvim

Markdown preview plugin for Neovim

Stars872
Forks91
Last commit2 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub