mirror of
https://github.com/SebastianStork/kita.git
synced 2026-01-21 19:11:35 +01:00
feat: re-render mermaid when theme changed
This commit is contained in:
parent
44acba4041
commit
be0ec891a0
4 changed files with 39 additions and 6 deletions
|
|
@ -1,3 +1,3 @@
|
|||
<pre class="mermaid bg-white">
|
||||
<pre class="mermaid bg-inherit">
|
||||
{{ 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