Integrate mermaid
This commit is contained in:
parent
aa2825a2a7
commit
d4e86b557b
2 changed files with 29 additions and 0 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