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.
Project facts
- Platform
- Visual Studio Code on macOS, Windows, and Linux
- Requirements
- VS Code 1.110.0 or later and Pandoc; a LaTeX engine for PDF output
- My role
- Creator
- Availability
- Available as a VS Code extension
- Licence
- MIT
If you like what you're reading, support my work
Mermaid chart brings WYSIWYG editing, generative AI, collaboration, and more to the flexible syntax of Mermaid.
Try Mermaid ChartSudowrite is an AI-powered writing assistant that helps you brainstorm, outline, and write your stories.
Sign up for Sudowrite