feat: 图片往返还原,并自动上传本地图片 - #3
Merged
Merged
Conversation
This was referenced Oct 2, 2026
Merged
ceynri
added this pull request to stack #6
October 2, 2026 09:01
create/update 把 Markdown 里的附件引用还原成云端 <img>;无法回写的引用直接报错。 本地路径图片自动上传并登记到笔记附件。相对路径基于 --file 所在目录。
ceynri
force-pushed
the
feat/image-pipeline
branch
from
October 2, 2026 09:01
cbf23c0 to
86eb016
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
情境
get写出的 Markdown 图片是,再update时没把引用还原成<img fileid=...>,云端图片会变成纯文本。本地新图片以前必须先upload-image。这次改什么
create/update按当前笔记附件把assets/和minote://image/引用还原成原图setting.data里的图片导出时保留为minote://image/引用自动上传并登记为笔记附件;--file的相对路径基于该文件所在目录同步路径上的同样逻辑在 #4。
怎么 merge
叠放 PR 第 3 个,base 是 #2。