-
导出 PDF 文件中空行符怎么取消?
2025-06-20 16:44- 说不定真的有一个符号在这个空行
- 新建一个工作空间导出空行试试有没有相同的问题
- 换一个 PDF 阅读器看看这里会不会显示符号
- 导出的 PDF 上传一下让我看看这个符号
-
请问这个基础的模板为什么总是报错?
2025-06-20 16:41试试这个:
.action{ if and (index . "近一年股息") (index . "现价") } .action{ $aa := index . "近一年股息" 0 } .action{ $bb := index . "现价" 0 } .action{ $result := divf $aa $bb } .action{ $result } .action{ end } -
怎么取消 “页签打开最大数量”的限制
2025-06-19 12:31添加 JS 片段可以绕过设置中的数量限制,不过思源的编辑器数量实际是有物理上限的,不要设置太大:
window.siyuan.config.fileTree.maxOpenTabCount = 50 -
求助粘贴图片如何自动调整大小
2025-06-18 20:46设置 - 外观 - 代码片段:
/* 调整图片宽度 CSS片段 */ .protyle-wysiwyg [data-node-id] .img:not([style]) { zoom: 67%; } -
能不能先把编辑器的基础功能体验优化好
2025-06-18 16:29比如我删除第五行,下面的 6,7,8,到无穷远都没有办法自动变更,我需要手动一个个的拖动
列表项需要在同一个列表块内才会自动修改序号。
块的打开/关闭状态,默认文档是记录最外面的标题打开/关闭状态的
这是个解决不了的技术问题,如果不一起展开下层的折叠块会产生异常,建议不要遮挡标题块,使用大纲来定位。如果必须要用折叠功能,请使用列表块,列表的折叠不受这个问题影响。
我就是基础用户,记不住快捷键
建议稍微记一下,会方便很多:
## 输入井号加空格,这是标题块 - 输入减号加空格,这是无序列表 1. 输入序号加空格,这是有序列表 -
希望在思源手机端顶端加个刷新文档的按钮
2025-06-17 13:46试试这个:
(() => { if (!window.siyuan?.mobile) return; setTimeout(() => { const targetButton = document.querySelector('.block__icon.fn__flex-center.ariaLabel'); if (!targetButton) return; const refreshBtn = document.createElement("div"); refreshBtn.className = "block__icon fn__flex-center ariaLabel"; refreshBtn.innerHTML = `<svg><use xlink:href="#iconRefresh"></use></svg>`; refreshBtn.onclick = async () => { const fetchPost = async (url, data) => { const response = await fetch(url, { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify(data) }); return await response.json(); }; await fetchPost("/api/ui/reloadProtyle", { id: window.siyuan.mobile.editor.protyle.block.rootID }); console.log("Document reloaded via reloadProtyle"); }; targetButton.parentElement.insertBefore(refreshBtn, targetButton); }, 500); })(); -
移动端修改字体设置
2025-06-17 13:03
