mirror of
https://github.com/SebastianStork/kita.git
synced 2026-01-21 12:11:35 +01:00
feat: mermaid shortcode support code block inside
This commit is contained in:
parent
aa98b6e5e2
commit
64580f4df0
2 changed files with 42 additions and 11 deletions
|
|
@ -1,3 +1,3 @@
|
|||
<pre class="mermaid bg-white">
|
||||
{{ body }}
|
||||
{{ body | trim_start_matches(pat="```mermaid") | trim_start_matches(pat="```") | trim_end_matches(pat="```") }}
|
||||
</pre>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue