Skip to content

Add kernel API /api/convert/pandoc #8235

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

Closed
Aiviokoo opened this issue May 11, 2023 · 3 comments
Closed

Add kernel API /api/convert/pandoc #8235

Aiviokoo opened this issue May 11, 2023 · 3 comments
Assignees
Milestone

Comments

@Aiviokoo
Copy link

Aiviokoo commented May 11, 2023

Support for importing EPUB 支持导入 EPUB 格式文件

In what scenarios do you need this feature?

转换后再导入还是比较麻烦,希望能直接支持导入。EPUB格式是很多书籍的常用格式,如果支持,思源作为阅读神器的属性就有了,也是一个很好的亮点。据我所知,想要epub导入的人还蛮多的。
看到最近加了很多导出的,就想来试试看,能否考虑导入。(听群友说是调用pandoc实现的,就想着能否导入也调用pandoc)

Describe the optimal solution

支持导入或支持在思源里面查看

Describe the candidate solution

也许是导入也可以调用pandoc

Other information

如果太难就算了吧

@88250 88250 changed the title Support for importing EPUB or Support for more import formats Support for importing EPUB May 11, 2023
@88250
Copy link
Member

88250 commented May 12, 2023

这个不考虑内置了,我想如果把 Pandoc 的能力通过接口暴露给外部(比如插件),通过 Pandoc 接口进行格式转换会更为灵活一些。

@88250 88250 closed this as completed May 12, 2023
@Aiviokoo
Copy link
Author

这个不考虑内置了,我想如果把 Pandoc 的能力通过接口暴露给外部(比如插件),通过 Pandoc 接口进行格式转换会更为灵活一些。

好嘛,谢谢D大,我等等大佬的插件吧

@88250 88250 changed the title Support for importing EPUB Provide API /api/pandoc/convert May 12, 2023
@88250 88250 self-assigned this May 12, 2023
@88250 88250 added this to the 2.8.8 milestone May 12, 2023
@88250 88250 reopened this May 12, 2023
@88250 88250 changed the title Provide API /api/pandoc/convert Provide API /api/convert/pandoc May 12, 2023
88250 added a commit that referenced this issue May 12, 2023

Unverified

This user has not yet uploaded their public signing key.
@88250 88250 closed this as completed May 12, 2023
@88250 88250 changed the title Provide API /api/convert/pandoc Provide kernel API /api/convert/pandoc May 15, 2023
@88250 88250 changed the title Provide kernel API /api/convert/pandoc Add kernel API /api/convert/pandoc May 15, 2023
@terwer
Copy link
Contributor

terwer commented May 17, 2023

插件已入坑,欢迎提建议 https://github.com/terwer/siyuan-plugin-importer

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