A Markdown preview for VS Code with scroll sync, diagrams, math, code chunks and export to PDF, HTML and ebooks
open sourceNCSAfree
A VS Code extension that opens a live preview beside a Markdown file, with automatic scroll sync. It renders LaTeX math, flowcharts, sequence diagrams and other graphs, task lists, footnotes and front matter, imports external files, runs code chunks, and builds a table of contents. Documents export to HTML, to PDF, PNG and JPEG through Puppeteer or Prince, through Pandoc, to ebooks, to GitHub Flavored Markdown and to presentations, and the preview's CSS can be customised. It began as an Atom package, which is no longer maintained. Released under the University of Illinois/NCSA licence.
Problems it solves
- see a live preview of my Markdown with math and diagrams while I write in VS Code
- export a Markdown file to PDF or HTML from my editor
- write slides and documents in Markdown and render charts in the preview
Features
- live preview with automatic scroll sync
- LaTeX math, flowcharts, sequence diagrams and other graphs
- code chunks that run code in the document
- imports of external files
- export to HTML, PDF, PNG and JPEG (Puppeteer or Prince), Pandoc, ebooks and GitHub Flavored Markdown
- presentation writer
- table of contents generation
- customisable preview CSS
Alternatives
The same job
These do what Markdown Preview Enhanced does.
- MarkText The Markdown editor that gets out of your way: realtime preview, no distractions
- iA Writer The original focused Markdown writing app
- HedgeDoc Create real-time collaborative markdown notes
- HackMD Build together with the ultimate Markdown editor
- QLMarkdown A macOS Quick Look extension that previews Markdown files, with GitHub Flavored Markdown, maths and Mermaid diagrams.
