🐛 Fix: fix echarts and mermaid theme switch error

This commit is contained in:
Cell
2024-04-24 20:14:17 +08:00
parent 3b89a4eaab
commit 1ed0acdf35
4 changed files with 30 additions and 23 deletions
@@ -1,4 +1,5 @@
<pre class="mermaid">
{{- .Inner | safeHTML }}
</pre>
<template>{{- .Inner | safeHTML }}</template>
{{- .Page.Store.Set "hasMermaid" true -}}