Skip to content

Commit

Permalink
Mermaid: reflect latest docs specifications
Browse files Browse the repository at this point in the history
MermaidJS now specifies to write chart's markdown within a `pre` HTML tag to improve semantics.
  • Loading branch information
djibe authored and bep committed Feb 27, 2023
1 parent b2a23b6 commit eddd25f
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,4 +1,4 @@
<div class="mermaid">
<pre class="mermaid">
{{- .Inner | safeHTML }}
</div>
</pre>
{{ .Page.Store.Set "hasMermaid" true }}

0 comments on commit eddd25f

Please sign in to comment.