Skip to content

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

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

Vanessabed8b3f5a0a2
diff --git a/app/src/protyle/export/index.ts b/app/src/protyle/export/index.ts
index 4d8b12f532..e3681fc0a0 100644
--- a/app/src/protyle/export/index.ts
+++ b/app/src/protyle/export/index.ts
@@ -113,6 +113,12 @@ const renderPDF = (id: string) => {
left: 0;
}
+ #preview > .code-block {
+ margin-left: auto;
+ margin-right: auto;
+ width: 800px;
+ }
+
#preview.exporting {
position: inherit;
max-width: none;