This repository has been archived on 2026-05-22. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
blowfish/layouts/shortcodes/mermaid.html
T
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>