siyuan-note / siyuan

A privacy-first, self-hosted, fully open source personal knowledge management software, written in typescript and golang.
https://b3log.org/siyuan
GNU Affero General Public License v3.0
19.28k stars 1.45k forks source link

支持设置某个块不导出 #12788

Closed Achuan-2 closed 36 minutes ago

Achuan-2 commented 2 hours ago

In what scenarios do you need this feature?

想自己写一个脚注插件,用文档内块引实现脚注,具体见https://github.com/siyuan-note/siyuan/issues/11247 导出文章的时候,需要把文档里被块引的脚注给屏蔽,用思源自己生成的脚注 因此希望思源能提供一个功能,可以设置某个块不导出 这在其他输出场景也能用到,比如我写一篇博客,我可以在段落后面批注自己的想法和待办,但是分享出去的时候不导出

Describe the optimal solution

通过自定义属性设置某个块不导出 比如custom-export=false

Describe the candidate solution

Other information

No response

TCOTC commented 2 hours ago

如果思源提供导出各种文件的接口的话,应该就能让插件自行处理一些特殊的块

88250 commented 36 minutes ago

这个不考虑了,感谢反馈。