Repository navigation
docs(content): 明确 Markdown 与本地文件结构正文合同 - #48
Merged
Merged
Conversation
- 通用格式解释保留源文、结构和链接,阅读独立隔离主动内容\n- Local Files v2 支持 HTML 与 Markdown,失败保留旧成功正文
This was referenced Oct 27, 2026
xiaoland
marked this pull request as ready for review
October 27, 2026 13:29
This branch was successfully deployed
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.
从源材料取得的 HTML 结构和 Markdown 源文需要在不同 Peer 中保持同一解释。本变更在既有合同增加
core.markdown.v1,明确普通格式解释与安全阅读,并将 Local Files v2 的正文格式、成功升级及失败保留行为写入共享合同。不新增 Organization 方法、结果协议、数据表或全库迁移。v1 仍按唯一 inline text 正文读取;v2 成功重新提取时保留既有 Block 和关系身份。
验证:
pnpm --dir website check通过,包含格式检查和网站构建;git diff --check通过。这是跨仓库内容提取改善的共享合同 PR。Python、TS、Swift 实现及 UI 阅读组件在独立工作树推进,后续将补充关联链接。没有发布或数据库迁移;实现完成前保持 draft。回退本次文档提交即可撤回候选合同,已写入新格式的资料须保留相应读端。