Markdown PDF (Revived) 3.0.0
This release improves browser reliability and hardens CSS handling in exported documents.
Breaking Security Change
User-supplied <style> elements are now removed from PDF and HTML exports. Sanitized style="..." attributes remain supported.
Move trusted CSS into a workspace-local file:
"markdown-pdf.styles": [
"styles/export.css"
]Browser Reliability
- Stable Chrome, Chromium, and Microsoft Edge are detected automatically.
- Invalid configured browser paths fall back to system detection with actionable diagnostics.
- HTML export works without a browser.
- Linux launches sandbox-first and only retries without the sandbox for recognized sandbox-unavailable failures.
- WSL requires a supported browser installed inside the Linux distribution.
Security and Maintenance
- Inline
<style>content cannot apply CSS or trigger network requests. - DOMPurify, Mermaid, and vulnerable transitive runtime dependencies were updated to patched versions.
- The release pipeline now verifies Linux, Windows, macOS, and the packaged VSIX.