GitHub Action 同步 Notion 无法拉取 HTML 格式 #62
Unanswered
zixiangcode
asked this question in
Q&A
Replies: 1 comment 9 replies
|
从代码运行流程上来看,这是一个 bug,因为生成的本地文件后缀被我写死为 从业务角度出发,导出为 html 目前还不完善,因为我所做的就是将 notion 文章下载为 markdown,然后再基于 markdown 转换为 html,是没有任何样式加持的,所以导出为 html 在导出到本地的场景中几乎不可用。当然这只是我认为的场景,如果你有相关的应用场景,可以和我讨论,目前 elog 也支持自定义文档处理器帮助html 文档添加样式 在未来的 1.x 版本中,导出为 html 会将完善起来,我会考虑添加一些样式主题和预览样式的功能,如果你不着急可以再等等。 |
9 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
我尝试采用 GitHub Action 来自动化备份我的 Notion 文章。
下面是我的
elog.config.js中的配置片段:在这里,对于
format字段的取值是html,但是elog sync拉取到的文章仍然是 Markdown 格式的文章。请问 Elog 能拉取 Notion 中的静态 HTML 吗?如果能的话,是我的配置哪里有问题吗?还是说 Elog 只能导出 Notion 的 md 格式啊?不是很清楚format字段的含义,还望解答!All reactions