mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-29 07:00:31 +03:00
Merge commit 'e477373487
'
This commit is contained in:
commit
b47376586a
73 changed files with 705 additions and 163 deletions
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
# Do not remove front matter.
|
||||
_comment: Do not remove front matter.
|
||||
---
|
||||
|
||||
## PageInner details
|
||||
|
|
|
@ -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 >}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue