Skip to content

Pandoc VSCode

Pandoc Render selected in the VS Code command palette

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

View Pandoc VSCode on GitHub →

If you like what you're reading, support my work

Want the power of Mermaid for enterprises?
Want the power of Mermaid for enterprises?

Mermaid chart brings WYSIWYG editing, generative AI, collaboration, and more to the flexible syntax of Mermaid.

Try Mermaid Chart
The AI writing tool with unparalleled story smarts
The AI writing tool with unparalleled story smarts

Sudowrite is an AI-powered writing assistant that helps you brainstorm, outline, and write your stories.

Sign up for Sudowrite

Join my mailing list

My roughly fortnightly newsletter, sent via Substack.

Latest issue: Reverse profiteering (27/11/2026)

View archive