Skip to content

Commit

Permalink
Use <pre> tag for mermaid code blocks (#1450)
Browse files Browse the repository at this point in the history
  • Loading branch information
deining committed Mar 1, 2023
1 parent 26d4d11 commit 77b6590
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layouts/_default/_markup/render-codeblock-mermaid.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{ .Page.Store.Set "hasmermaid" true -}}

<div class="mermaid">
<pre class="mermaid">
{{- .Inner | safeHTML }}
</div>
</pre>

0 comments on commit 77b6590

Please sign in to comment.