mirror of
https://github.com/codexu/note-gen.git
synced 2026-04-25 21:05:55 +03:00
[GH-ISSUE #359] [feat] 文件记录支持更多的格式,例如 pdf,xlsx,word #261
Labels
No labels
bug
duplicate
feature
platform: Android
platform: Linux
platform: Windows
platform: iOS
platform: macOS
priority: high
priority: low
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/note-gen#261
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @semifly on GitHub (Jul 8, 2025).
Original GitHub issue: https://github.com/codexu/note-gen/issues/359
Originally assigned to: @codexu on GitHub.
记录的文件功能增加常用的文件格式,例如:pdf,xlsx,word等
@codexu commented on GitHub (Jul 9, 2025):
可能会优先支持 pdf,这个功能将在完善 pdf 导出功能时同时开发。
@code2tan commented on GitHub (Jul 10, 2025):
不要支持word、xlsx,纯种markdown就挺好
@semifly commented on GitHub (Jul 10, 2025):
@code2tan 我也很喜欢纯粹的markdown,如您说所,只支持markdown,没什么毛病。但是在实际的使用过程中难免不会遇到其他的文件,记录的时候还得先转成markdown再记录,显得很麻烦。
@codexu commented on GitHub (Jul 10, 2025):
word、xlsx 读取可能会使安装包体积增大很多,可能暂时不考虑。
@codexu commented on GitHub (Jul 10, 2025):
#371 提到读取代码,因为代码文件都以纯文本读取,所以可做支持。
@codexu commented on GitHub (Jul 16, 2025):
关于导出 PDF 和导入 PDF 功能,经过调研,实现它会使安装包体积增加 3 MB 左右,所以此功能暂时取消开发。
这里推荐一下使用 MarkItDown 将 PDF、word、excel 这类文件转化为 markdown 后再导入 NoteGen,专业的事情交给专业工具。
@TeliangWang commented on GitHub (Aug 1, 2025):
我之前pull的导出PDF功能调用浏览器打印 API,加上CSS样式设计几百行代码就可实现,不需要新增依赖
导入PDF的话用DS这些大模型工具就可以很好地转为MD