Skip to content

导出 Markdown 时在文档头添加 YFM 开关 #7727

Closed
@88250

Description

@88250
Member
          @88250 导出 Markdown 时在文档头添加 metadata 能否使用一个开关控制, 我有一些文档块自定义属性需要一块导出, 所以打算搞一个挂件专门对 metadata 进行管理, 此时需要关闭内置的 metadata 导出功能

Originally posted by @Zuoqiu-Yingyi in #6880 (comment)

该设置项默认不启用。

Activity

self-assigned this
on Mar 21, 2023
added this to the 2.8.1 milestone on Mar 21, 2023
changed the title [-]导出 Markdown 时在文档头添加 metadata 开关[/-] [+]导出 Markdown 时在文档头添加 YFM 开关[/+] on Mar 21, 2023
Zuoqiu-Yingyi

Zuoqiu-Yingyi commented on Mar 22, 2023

@Zuoqiu-Yingyi
Contributor

@88250 API /api/export/exportMdContent 的响应内容貌似不受该开关的控制, 这属于 🎨 还是 🐛 呀❓

88250

88250 commented on Mar 23, 2023

@88250
MemberAuthor

@Zuoqiu-Yingyi API 也需要?

Zuoqiu-Yingyi

Zuoqiu-Yingyi commented on Mar 23, 2023

@Zuoqiu-Yingyi
Contributor

API 也需要?

最好统一一下, 毕竟设置>导出里面其他的相关设置项也会影响 markdown 的导出

88250

88250 commented on Mar 23, 2023

@88250
MemberAuthor

好的。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @88250@Zuoqiu-Yingyi

      Issue actions

        导出 Markdown 时在文档头添加 YFM 开关 · Issue #7727 · siyuan-note/siyuan