MdToPdf
Convert Markdown files to PDF from VS Code.
VS Code Marketplace ↗ Open VSX ↗ Source on GitHub ↗
Convert Markdown files to PDF inside VS Code.
Features
- Command:
Markdown to PDF: Convert File - Right-click
.mdin Explorer and convert directly from the context menu - Select a
.mdfile and generate a.pdffile - Optional auto-open of the generated PDF file
- Configurable output folder and overwrite behavior
Extension Settings
mdtopdfext.outputFolder: Target folder for generated PDF files.- Empty: save next to source
.md - Relative: resolved from the first workspace folder
- Absolute: used directly
- Empty: save next to source
mdtopdfext.overwriteExisting: Overwrite existing.pdffile if present.mdtopdfext.openAfterConvert: Open generated PDF file after conversion.mdtopdfext.chromeExecutablePath: Optional path to Chrome/Chromium executable used by the converter.
Publish
- Install VSCE globally:
npm i -g @vscode/vsce - Login once:
vsce login michaelsam94 - Publish:
vsce publish
Hiring a senior Android / Flutter engineer?
I architect and ship production mobile software — Kotlin, Jetpack Compose, Flutter — for robotics, EV infrastructure, fintech, and real-time systems. Open to remote roles in Europe and the US.
Get in touch →