Pandoc VSCode
Pandoc VSCode lets you render markdown documents to PDF, Word, or HTML from directly within Visual Studio Code, using Pandoc as the conversion engine. Trigger a render via the command palette or a keyboard shortcut, then pick the output format from a list.
Pandoc reads the file from disk rather than the editor buffer, so unsaved changes are saved first and rendering is cancelled rather than exporting stale content if the save fails. Rendering PDFs additionally needs a LaTeX-based PDF engine installed (BasicTeX on macOS, MiKTeX on Windows, TeX Live on Linux).
I built this as a convenience layer for my own technical writing workflow, where I frequently need to hand off markdown drafts as formatted documents, building on earlier work by dfinke.
If you like what you're reading, support my work

Unify all of your calendars. Say goodbye to double-bookings and missed updates. And more.
Download Fantastical
Scrivener is the go-to app for writers of all kinds, used every day by best-selling novelists, screenwriters, non-fiction writers, students, academics, lawyers, journalists, translators and more.
Get Scrivener