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 exporting block ref #13331

Closed
88250 opened this issue Dec 2, 2024 · 11 comments
Closed

Improve exporting block ref #13331

88250 opened this issue Dec 2, 2024 · 11 comments
Assignees
Milestone

Comments

@88250
Copy link
Member

88250 commented Dec 2, 2024

继续改进 #13283

  • 改进导出范围计算(多选文档、块引用、块超链接涉及到的文档)
  • 合并块引导出模式 脚注+锚点哈希

@88250 发现一个bug,如果导出文档为pdf时,不设置导出文档标题,子文档引用父文档的链接会失效

@88250 88250 self-assigned this Dec 2, 2024
@88250 88250 added this to the 3.1.15 milestone Dec 2, 2024
@Achuan-2
Copy link
Member

Achuan-2 commented Dec 3, 2024

导出md的bug,两个块之间相互引用,导出块引为锚点哈希失败
导出pdf没有这个bug
测试文件
20241203 19_12_44.sy.zip

@Achuan-2
Copy link
Member

Achuan-2 commented Dec 4, 2024

markdown导出有问题

  1. 选择脚注模式导出md.zip文件,只有锚点哈希的跳转链接,没有锚点了

PixPin_2024-12-04_18-45-54

  1. 预览模式,选择锚点哈希模式,导出块引是没有转换的,脚注模式才转换,但是如1所说,只有锚点哈希的跳转链接,没有锚点了

@Achuan-2
Copy link
Member

Achuan-2 commented Dec 6, 2024

如果块引添加了上标,希望变为锚点哈希也能保持上标样式

@88250
Copy link
Member Author

88250 commented Dec 8, 2024

markdown导出有问题

  1. 选择脚注模式导出md.zip文件,只有锚点哈希的跳转链接,没有锚点了

PixPin_2024-12-04_18-45-54

  1. 预览模式,选择锚点哈希模式,导出块引是没有转换的,脚注模式才转换,但是如1所说,只有锚点哈希的跳转链接,没有锚点了

锚点哈希模式已经和脚注模式合并为 脚注+锚点哈希 ,所以这个问题应该是不存在了,等发布新版麻烦测试。

@88250
Copy link
Member Author

88250 commented Dec 8, 2024

导出md的bug,两个块之间相互引用,导出块引为锚点哈希失败

已经修复。

@88250
Copy link
Member Author

88250 commented Dec 8, 2024

如果块引添加了上标,希望变为锚点哈希也能保持上标样式

已经改进。

88250 added a commit to 88250/lute that referenced this issue Dec 8, 2024
88250 added a commit that referenced this issue Dec 8, 2024
88250 added a commit that referenced this issue Dec 8, 2024
88250 added a commit that referenced this issue Dec 8, 2024
88250 added a commit that referenced this issue Dec 8, 2024
@88250 88250 closed this as completed Dec 8, 2024
@Achuan-2
Copy link
Member

Achuan-2 commented Dec 9, 2024

预览模式还有一点点问题
PixPin_2024-12-09_11-47-04

直接复制到语雀依然只有跳转链接,没有放锚点,导出md.zip是没有问题的

# 20241209 11:43:56* [1](#20241209114356-ydng8dj)
* [2](#20241209114400-5ms4v6s)

## 1

## 2

@88250
Copy link
Member Author

88250 commented Dec 9, 2024

我测试了下,语雀的 Markdown 不支持 <span> 标签,所以就算这里加了也没有用哦。

@Achuan-2
Copy link
Member

Achuan-2 commented Dec 9, 2024

我测试了下,语雀的 Markdown 不支持 <span> 标签,所以就算这里加了也没有用哦。

嗯,主要是复制到其他地方去,比如github或者其他markdown编辑器,不是为了复制到语雀,这样就不需要再导出解压压缩包了

用户如果不需要,再把块引锚文本切换为纯文本就行了

@88250
Copy link
Member Author

88250 commented Dec 9, 2024

好的,我们先支持了看。

88250 added a commit that referenced this issue Dec 9, 2024
88250 added a commit that referenced this issue Dec 9, 2024
@Achuan-2
Copy link
Member

Achuan-2 commented Dec 9, 2024

ok,辛苦🙇‍♂️

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

2 participants