| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| markdown-pdf-2.1.0.vsix | 2026-05-24 | 7.5 MB | |
| 2.1.0 source code.tar.gz | 2026-05-24 | 10.3 MB | |
| 2.1.0 source code.zip | 2026-05-24 | 10.4 MB | |
| README.md | 2026-05-24 | 2.4 kB | |
| Totals: 4 Items | 28.3 MB | 0 | |
2.1.0 (2026/05/24)
Breaking Changes
- Security hardening: Raw HTML in Markdown is now sanitized by default according to the GFM Disallowed Raw HTML extension. The following are removed from Markdown body content:
- Tags:
<script>,<iframe>,<style>,<textarea>,<title>,<xmp>,<noembed>,<noframes>,<plaintext>(opening<is escaped to<, content is preserved as visible text) on*event handler attributes (onclick,onload, etc.)href/srcattributes whose value begins withjavascript:- The behavior is controlled by the new
markdown-pdf.sanitizesetting ("gfm"/"gfm-allow-style"/"none", default"gfm"). See README for details and migration notes. - To preserve pre-change behavior, set
markdown-pdf.sanitizeto"none". To keep inline<style>only, use"gfm-allow-style". Existing layout CSS can also be migrated to external files viamarkdown-pdf.styles.
Changes
- Add
markdown-pdf.sanitizesetting for raw HTML sanitization (see Breaking Changes above) - Add support for
```plantumlfenced code blocks as a PlantUML syntax in addition to the existing@startuml/@endumlblock markers. Both are supported on equal footing (the fence form is the same one used by VS Code preview, GitHub, and GitLab) #92 #162 #389 - Automatically download the latest Chrome Stable build when Chromium is needed, instead of using only the build id pinned by
puppeteer-core. If the Chrome for Testing API is unreachable, the extension falls back to the latest cached build, and finally to thepuppeteer-corebundled build id. Add the newmarkdown-pdf.chromium.autoDownloadsetting (defaulttrue); set it tofalseto opt out of the automatic download and rely on an installed system browser (Chrome / Chromium / Edge) ormarkdown-pdf.executablePath. - Add math rendering support via KaTeX for
$...$,$$...$$,\(...\),\[...\], and```mathfenced code blocks (matches VS Code's built-in Markdown preview). Controlled by the newmarkdown-pdf.math.enabled(defaulttrue) andmarkdown-pdf.math.katex.macrossettings.