This commit is contained in:
Bjørn Erik Pedersen 2024-12-11 09:53:33 +01:00
commit b47376586a
No known key found for this signature in database
73 changed files with 705 additions and 163 deletions

View file

@ -1,5 +1,5 @@
---
# Do not remove front matter.
_comment: Do not remove front matter.
---
## PageInner details

View file

@ -122,7 +122,7 @@ For example, to create a code block render hook to render [Mermaid] diagrams:
{{< code file=layouts/_default/_markup/render-codeblock-mermaid.html copy=true >}}
<pre class="mermaid">
{{- .Inner | safeHTML }}
{{- .Inner | htmlEscape | safeHTML }}
</pre>
{{ .Page.Store.Set "hasMermaid" true }}
{{< /code >}}