summaryrefslogtreecommitdiff
path: root/sysret.org/themes/tabi-lean/templates/shortcodes/mermaid.html
blob: 88bbdc4588013c8417e2c0afa85bcb3d833ccb65 (plain)
1
2
3
4
5
6
7
8
{% 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>