mirror of
https://github.com/codexu/note-gen.git
synced 2026-04-25 21:05:55 +03:00
[GH-ISSUE #531] [feat] 允许图片存储到Markdown文件的相对目录并同步至仓库,替代 GitHub 图床 #384
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#384
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 @FrozenRod on GitHub (Aug 7, 2025).
Original GitHub issue: https://github.com/codexu/note-gen/issues/531
描述你的建议
首先,非常感谢作者开发出如此优秀的笔记软件!从我第一次使用这款工具开始,它便成了我日常笔记管理的重要部分。 它通过 GitHub/Gitee 同步笔记的设计非常符合我的需求,和我之前手动用
git命令管理笔记的习惯完美契合。关于图片同步的方式,我想提一个改进建议。当前的问题:
目前软件只能同步 Markdown 文件,而图片需要单独上传到 GitHub 图床。这带来了以下不便:
建议的改进方案:
建议增加选项:允许图片存储到Markdown文件的相对目录并同步至代码仓库
具体实现模型:
在Markdown中自动生成:
的相对路径引用这一改进的优点:
@codexu commented on GitHub (Aug 11, 2025):
这个功能一直存在一定的争议,这个功能可能很适合少量图片的用户使用。
我来考虑一下如何实现它。
@codexu commented on GitHub (Aug 11, 2025):
另外需要注意下 Github 仓库限制:
https://docs.github.com/zh/repositories/working-with-files/managing-large-files/about-git-large-file-storage
@WuxuFanhua commented on GitHub (Aug 13, 2025):
使用本地图床时,文件自动保存到assets目录后,可以同步asset文件夹.取消文件限制.以及在另外设备同步时,点击前,先判断本地是否存在此文件,不存在的话,下载到本地,然后判断文件类型,在根据文件类型去打开对应编辑器,或者打开图片.
@codexu commented on GitHub (Aug 14, 2025):
另外,应该增加一个开关,并不是所有人都这样使用。
@meihao123 commented on GitHub (Oct 6, 2025):
如何取消文件限制啊?还有为啥同步了assets文件夹后,GitHub仓库还是看不见呢?是科学上网的问题吗,可是我已经开了v2rayn啊
@WuxuFanhua commented on GitHub (Oct 6, 2025):
涉及文件较多…建议等作者新增此功能🌚 除了取消文件限制 同步文件方法 也有改动
@meihao123 commented on GitHub (Oct 6, 2025):
你说作者取消了文件同步功能,所以图片没法同步是吧?那图床呢也不行吗?
@meihao123 commented on GitHub (Oct 6, 2025):
用gitee会不会跨端访问文件图片更快些,因为图床的情况assets文件里面的图片用华为手机半天加载不出来
@JLiu109 commented on GitHub (Oct 13, 2025):
希望可以开发这个功能,多个开关可供选择