mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 04:15:05 +00:00
Mermaid: reflect latest docs specifications
MermaidJS now specifies to write chart's markdown within a `pre` HTML tag to improve semantics.
This commit is contained in:
1 parent
b2a23b6f5d
commit
eddd25ff46
1 file changed
+2
-2
@@ -1,4 +1,4 @@
|
||||
<div class="mermaid">
|
||||
<pre class="mermaid">
|
||||
{{- .Inner | safeHTML }}
|
||||
</div>
|
||||
</pre>
|
||||
{{ .Page.Store.Set "hasMermaid" true }}
|
||||
Reference in new issue
Block a user