Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve export of heading levels in embedded blocks #12233

Closed
Achuan-2 opened this issue Aug 11, 2024 · 2 comments
Closed

Improve export of heading levels in embedded blocks #12233

Achuan-2 opened this issue Aug 11, 2024 · 2 comments
Assignees
Milestone

Comments

@Achuan-2
Copy link
Member

Achuan-2 commented Aug 11, 2024

导出嵌入块时对标题层级进行优化

In what scenarios do you need this feature?

目前嵌入块导出,原始标题是什么层级,导出依然是什么层级
这就导致我写博客发表到其他平台,很难使用到嵌入块
举例:
我写一篇《Matlab 深度学习丨使用长短期记忆网络对 ECG 信号进行分类》的博客
需要块嵌入LSTM的笔记
Clip_2024-08-11_12-00-55
导出之后,可以看到由于嵌入块导出依然是原始标题层级,标题就乱掉了
Clip_2024-08-11_12-04-52

Describe the optimal solution

建议嵌入块导出也如文档转标题功能一样,支持检测父标题,嵌入块导出时,最高层级的标题比父标题低一级,无父标题则按照原始标题层级导出
使得嵌入块也可以用于博客写作等输出

Describe the candidate solution

Other information

@Achuan-2 Achuan-2 changed the title 嵌入块导出对标题层级进行优化 导出嵌入块时对标题层级进行优化 Aug 11, 2024
@TCOTC
Copy link
Contributor

TCOTC commented Aug 11, 2024

最高层级的标题比父标题低一级

有道理。

如果标题降级到六级以下了,可以变成加粗的普通文本

@88250 88250 self-assigned this Sep 12, 2024
@88250 88250 changed the title 导出嵌入块时对标题层级进行优化 Improve export of heading levels in embedded blocks Sep 12, 2024
@88250 88250 added this to the 3.1.7 milestone Sep 12, 2024
@88250
Copy link
Member

88250 commented Sep 12, 2024

降到六级下就不动了,最大六级。

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

No branches or pull requests

3 participants