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

您好,我在测试导出时遇到两个问题:图片404的时候,会导出报错跳出;导出带有额外的html编码; #5

Closed
profoundeye opened this issue Oct 25, 2023 · 2 comments

Comments

@profoundeye
Copy link

profoundeye commented Oct 25, 2023

图片404的时候,会导出报错跳出;
image

导出带有额外的html编码;
img_v2_a3ae1385-8ef7-41b5-b177-46b2da179b2g

@huacnlee
Copy link
Member

huacnlee commented Oct 25, 2023

Grid 这个问题我昨天应该修了的,你试试最新的 feishu-pages NPM,新的方式 Grid 内部会生成 HTML

Markdown 里面是允许采用 HTML 的,绝大多数的 Static Page Generator 均支持此方式,并且飞书的一些特殊格式例如 Callout,使得我们必须用自定义 HTML + 自行实现 CSS 来达到效果。

所以 feishu-docx 导出 Markdown 的时候,给出这些非 Markdown 标准,给出的是 HTML,并定义了一个标准的 CSS class。

@huacnlee
Copy link
Member

https://longbridgeapp.github.io/feishu-pages/zh-CN/feishu-docx

我写了一篇文档,介绍这些特殊的内容格式。

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

No branches or pull requests

2 participants