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

新增高亮块和表格换行处理功能 #133

Merged
merged 5 commits into from
Aug 27, 2024

Conversation

DdGnoybab
Copy link
Contributor

1.对飞书文档中的高亮块类型,使用markdown中的 提示效果来实现高亮
2.项目中飞书中的表格转换为markdown后无法换行,通过
来实现换行效果

新增传入userAccessToken作为可选参数功能
新增高亮块,表格中内容可换行功能
1.新增高亮块类型处理
2.新增表格中内容换行处理
@DdGnoybab
Copy link
Contributor Author

通过“<”br">"实现表格内容的换行

@Wsine
Copy link
Owner

Wsine commented Aug 8, 2024

请问你有相对应的测试文档来运行这里修改的代码吗?

@DdGnoybab
Copy link
Contributor Author

请问你有相对应的测试文档来运行这里修改的代码吗?

我已经进行了测试 但是不方便将文档发送给您 我可以给您提供编写测试文档的大概思路 1.高亮块:就正常插入高亮块 然后在里面写文字即可 2.表格 在表格单元格中写文档内容(最好有多个单元格) 然后进行换行,直接按回车进行换行 可进行一次换行或两次换行或多次换行等多种换行方式 然后转换后注意查看 对应的高亮块内容 和 表格的换行是否正确(包括换行次数)

@Wsine
Copy link
Owner

Wsine commented Aug 8, 2024

请问你可以准备一个单独的脱敏文档然后发到这个PR的对话里面吗?

@DdGnoybab
Copy link
Contributor Author

请问你可以准备一个单独的脱敏文档然后发到这个PR的对话里面吗?

https://h04c8qv5upv.feishu.cn/wiki/WhJuwljBaiW7rzkh2KecXY1Enuh 您试一下

@Wsine
Copy link
Owner

Wsine commented Aug 27, 2024

十分感谢你的贡献!

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

Successfully merging this pull request may close these issues.

2 participants