mirror of
https://github.com/falsycat/ar.falsy.cat.git
synced 2025-10-04 00:52:14 +00:00
feat: add support for mermaid diagrams (#244)
This commit is contained in:
4
layouts/_default/_markup/render-codeblock-mermaid.html
Normal file
4
layouts/_default/_markup/render-codeblock-mermaid.html
Normal file
@@ -0,0 +1,4 @@
|
||||
<div class="mermaid">
|
||||
{{- .Inner | safeHTML }}
|
||||
</div>
|
||||
{{ .Page.Store.Set "hasMermaid" true }}
|
Reference in New Issue
Block a user