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/17759
Vanessa5d4bc9e532d3
diff --git a/app/src/protyle/preview/index.ts b/app/src/protyle/preview/index.tsindex c9675ecd94..f336b6a715 100644--- a/app/src/protyle/preview/index.ts+++ b/app/src/protyle/preview/index.ts@@ -230,7 +230,8 @@ export class Preview {// 列表嵌套 https://github.com/siyuan-note/siyuan/issues/11276copyElement.querySelectorAll("ul, ol").forEach((listItem: HTMLOListElement) => {if (typeof listItem.start === "number") {- listItem.style.paddingLeft = listItem.start.toString().length + 0.2 + "em";+ listItem.classList.add("list-paddingleft-" + Math.min(listItem.start.toString().length, 3));+ listItem.style.listStyleType = "decimal";}Array.from(listItem.children).forEach(liItem => {const nestedList = liItem.querySelector("ul, ol");