[GH-ISSUE #151] [feat] 自定义图片目录 #114

Closed
opened 2026-03-02 03:37:51 +03:00 by kerem · 3 comments
Owner

Originally created by @Ceere on GitHub (Apr 25, 2025).
Original GitHub issue: https://github.com/codexu/note-gen/issues/151

描述你的建议

我在使用typora的时候,指定了image存放在指定目录中,当我使用notegen重新打开md文件时,无法正确加载文件,可以增加手动指定图片目录的功能吗

Originally created by @Ceere on GitHub (Apr 25, 2025). Original GitHub issue: https://github.com/codexu/note-gen/issues/151 ### 描述你的建议 我在使用typora的时候,指定了image存放在指定目录中,当我使用notegen重新打开md文件时,无法正确加载文件,可以增加手动指定图片目录的功能吗
kerem 2026-03-02 03:37:51 +03:00
  • closed this issue
  • added the
    feature
    label
Author
Owner

@codexu commented on GitHub (Apr 25, 2025):

暂时还不支持图片指定目录,可以将图片复制到指定目录,例如 mac:/Users/xu/Library/Application Support/com.codexu.NoteGen/image 目录下,未来考虑增加导入图片功能,直接修改图片存放目录可能会导致其他依赖图片功能的地方发生错误。

<!-- gh-comment-id:2829224684 --> @codexu commented on GitHub (Apr 25, 2025): 暂时还不支持图片指定目录,可以将图片复制到指定目录,例如 mac:/Users/xu/Library/Application Support/com.codexu.NoteGen/image 目录下,未来考虑增加导入图片功能,直接修改图片存放目录可能会导致其他依赖图片功能的地方发生错误。
Author
Owner

@jagger235711 commented on GitHub (Apr 27, 2025):

同时希望增加自定义笔记仓库和图片仓库的功能

<!-- gh-comment-id:2833409561 --> @jagger235711 commented on GitHub (Apr 27, 2025): 同时希望增加自定义笔记仓库和图片仓库的功能
Author
Owner

@codexu commented on GitHub (Jul 1, 2025):

Image
现在可以在文件管理中设置资源路径,默认为 assets,并且支持相对路径引入图片。

<!-- gh-comment-id:3021926261 --> @codexu commented on GitHub (Jul 1, 2025): ![Image](https://github.com/user-attachments/assets/c373476b-1770-4060-b414-4fd35baf0361) 现在可以在文件管理中设置资源路径,默认为 assets,并且支持相对路径引入图片。
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/note-gen#114
No description provided.