An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作
TypeScript agentic-aiai-agentknowledge-baselocal-firstmarkdownmcpmindmapnote-takingself-hostedsiyuanworkspace
:art: https://github.com/siyuan-note/siyuan/issues/13417
Vanessaa3cc2b80f6b5
diff --git a/app/src/protyle/export/index.ts b/app/src/protyle/export/index.tsindex 09d6be5907..27644c3141 100644--- a/app/src/protyle/export/index.ts+++ b/app/src/protyle/export/index.ts@@ -318,6 +318,9 @@ const renderPDF = async (id: string) => {item.style.width = Math.min(item.clientWidth, width) + "px";item.removeAttribute('data-render');})+ previewElement.querySelectorAll('[data-type="NodeCodeBlock"][data-subtype="mermaid"] svg').forEach((item) => {+ item.style.maxHeight = width * 1.414 + "px";+ })Protyle.mathRender(previewElement, "${servePath}/stage/protyle", true);previewElement.querySelectorAll("table").forEach(item => {if (item.clientWidth > item.parentElement.clientWidth) {