浏览代码

:bug: fix https://github.com/siyuan-note/siyuan/issues/5797

Vanessa 2 年之前
父节点
当前提交
3c48278df0
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      app/src/protyle/export/index.ts

+ 1 - 0
app/src/protyle/export/index.ts

@@ -321,6 +321,7 @@ pre code {
           codeLigatures: ${window.siyuan.config.editor.codeLigatures},
           codeLigatures: ${window.siyuan.config.editor.codeLigatures},
           plantUMLServePath: "${window.siyuan.config.editor.plantUMLServePath}",
           plantUMLServePath: "${window.siyuan.config.editor.plantUMLServePath}",
           codeSyntaxHighlightLineNum: ${window.siyuan.config.editor.codeSyntaxHighlightLineNum},
           codeSyntaxHighlightLineNum: ${window.siyuan.config.editor.codeSyntaxHighlightLineNum},
+          katexMacros: JSON.stringify(${window.siyuan.config.editor.katexMacros}),
         }
         }
       },
       },
       languages: {copy:"${window.siyuan.languages.copy}"}
       languages: {copy:"${window.siyuan.languages.copy}"}