feat: add mermaid code fences usage

This commit is contained in:
Henk Verlinde
2021-07-01 16:21:03 +02:00
parent 6a87dc6e29
commit 7d6df42519
8 changed files with 50 additions and 17 deletions

View File

@ -3,6 +3,6 @@
{{ $data := replaceRE "(^\\s+```)" "" .Inner -}}
{{ replaceRE "(```\\s+$)" "" $data -}}
</div>
{{ else }}
{{ errorf "Set `mermaid = true` in `./config/_default/params.toml`"}}
{{ end }}
{{ else -}}
{{ errorf "Set `mermaid = true` in `./config/_default/params.toml`" }}
{{ end -}}