alan20 downloadsFixes Mermaid diagram truncation in PDF export, and adds Python-powered Word export.
An ultra-lightweight Obsidian plugin that fixes the annoying issue where wide Mermaid diagrams (like sequence diagrams) get horizontally truncated/cut off when using Obsidian's native "Export to PDF" feature.
When you use the Export to PDF (Mermaid Fix) command, this plugin temporarily injects a precise @media print CSS rule that forces all Mermaid SVG elements to scale responsively (max-width: 100%) and avoid page breaks, and then automatically invokes Obsidian's native, high-quality PDF export dialog.
This means you get the best of both worlds:
obsidian-pdf-mermaid-fix inside your vault's .obsidian/plugins/ directory.main.js and manifest.json from the latest Release and place them in the folder.