add: mermaid support
This commit is contained in:
parent
775f4e9de0
commit
ce5f1811c4
4 changed files with 122 additions and 2 deletions
4
layouts/_default/_markup/render-codeblock-mermaid.html
Normal file
4
layouts/_default/_markup/render-codeblock-mermaid.html
Normal file
|
@ -0,0 +1,4 @@
|
|||
<pre class="mermaid">
|
||||
{{- .Inner | safeHTML }}
|
||||
</pre>
|
||||
{{ .Page.Store.Set "hasMermaid" true }}
|
Loading…
Add table
Add a link
Reference in a new issue