homepage/templates/shortcodes/mermaid.html
Fabian Montero 14822297bd Squashed 'themes/tabi-lean/' content from commit 95c8796
git-subtree-dir: themes/tabi-lean
git-subtree-split: 95c879696445ede40daa7a30a88dae5dd74d5c0c
2025-09-13 14:21:22 -06:00

8 lines
349 B
HTML

{% set invertible = invertible | default(value=true) %}
{% set full_width = full_width | default(value=false) %}
<noscript>
<strong>⚠️ JavaScript is required to render the diagram.</strong>
</noscript>
<pre class="mermaid{% if invertible %} invertible-image{% endif %}{% if full_width %} full-width{% endif %}">
{{ body | safe }}
</pre>