Files
blowfish/layouts/shortcodes/mermaid.html
ZhenShuo Leo 059d22ca96 🐛 fix: Preserve Mermaid indentation disrupted by Hugo minify (#2069)
Add a pre tag to the Mermaid class to preserve indentation and ensure data retrieval on DOMContentLoaded
2025-04-22 05:53:15 +08:00

4 lines
81 B
HTML

<div class="mermaid" align="center">
<pre>{{ .Inner | safeHTML }}</pre>
</div>