Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: https://ld246.com/article/1715397385720

Vanessa6fbbc9189c91
diff --git a/app/src/protyle/export/index.ts b/app/src/protyle/export/index.ts
index ca00e89e72..42ee4b2c4a 100644
--- a/app/src/protyle/export/index.ts
+++ b/app/src/protyle/export/index.ts
@@ -422,6 +422,7 @@ const renderPDF = async (id: string) => {
config: {
appearance: { mode: 0, codeBlockThemeDark: "${window.siyuan.config.appearance.codeBlockThemeDark}", codeBlockThemeLight: "${window.siyuan.config.appearance.codeBlockThemeLight}" },
editor: {
+ allowHTMLBLockScript: ${window.siyuan.config.editor.allowHTMLBLockScript},
fontSize: ${window.siyuan.config.editor.fontSize},
codeLineWrap: true,
codeLigatures: ${window.siyuan.config.editor.codeLigatures},