From 3c48278df08b971cebbabb8659b15009fb3fbe25 Mon Sep 17 00:00:00 2001 From: Vanessa Date: Sat, 3 Sep 2022 09:22:41 +0800 Subject: [PATCH] :bug: fix https://github.com/siyuan-note/siyuan/issues/5797 --- app/src/protyle/export/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/protyle/export/index.ts b/app/src/protyle/export/index.ts index e9b8a0513..626ccd2b0 100644 --- a/app/src/protyle/export/index.ts +++ b/app/src/protyle/export/index.ts @@ -321,6 +321,7 @@ pre code { codeLigatures: ${window.siyuan.config.editor.codeLigatures}, plantUMLServePath: "${window.siyuan.config.editor.plantUMLServePath}", codeSyntaxHighlightLineNum: ${window.siyuan.config.editor.codeSyntaxHighlightLineNum}, + katexMacros: JSON.stringify(${window.siyuan.config.editor.katexMacros}), } }, languages: {copy:"${window.siyuan.languages.copy}"}