像审稿一样给 AI 写的稿子做批注,再让 AI 按批注改稿。
MD Annotator 是一个 Obsidian 插件:在 Markdown 文档里选中文字、写下修改意见,意见会以标准的 CriticMarkup 格式直接写进文件。AI 读这个文件时,能准确知道每一条意见针对的是哪一段原文。
English: MD Annotator is an Obsidian plugin for reviewing AI-written drafts. Select any passage (or several paragraphs), write a comment, and it is saved inline in the note using the standard CriticMarkup syntax
{==text==}{>>comment<<}. Hand the annotated file back to any AI tool and it knows exactly which passage each comment refers to. Comments are shown as cards in a right-hand margin, like an online document editor. See the full English section at the end of this page.
现在写长文,我越来越多的做法是先让 AI 出一版初稿,再自己来改。但改 AI 的稿子有两种常见方式,都不太顺手:
我真正想要的,是像审阅同事的文档那样:在原文上直接圈出来、写批注,然后把整篇文档交回给 AI,让它逐条落实。
所以有了这个插件。它想解决的不是“怎么写批注”,而是 怎么让人的修改意见以最低的成本、最准确地传达给 AI。
传统的人机协作,是“人描述 → AI 理解 → AI 修改”,中间最容易出问题的就是“描述”和“理解”。MD Annotator 把这一步换成了 “人在原文上批注 → AI 读文件”:
| 在对话框里描述修改 | 用 MD Annotator 批注 | |
|---|---|---|
| 定位原文 | 靠文字描述“第几段第几句”,容易说不清、指错 | 意见直接挂在原文上,位置零歧义 |
| 反馈方式 | 一条一条地说,来回好几轮 | 通读一遍、批注完,一次交给 AI |
| 上下文 | 意见散落在聊天记录里 | 意见和原文在同一个文件里,文件本身就是完整上下文 |
| 跨段意见 | “前面三段”这种范围很难说准 | 直接框选多段,范围一目了然 |
| 检查是否改到位 | 要对照聊天记录逐条核对 | AI 改完后标记消失;剩下的批注就是还没处理的 |
几个让协作更顺的设计:
{==原文==}{>>意见<<} 是现成的 CriticMarkup 语法,大模型普遍认识,不需要额外教。AI 生成初稿 → 你在 Obsidian 里通读、批注 → AI 按批注修改 → 你再审一遍 / 继续批注
把文档交给 AI 时,可以这样说(只需要说一次):
文中
{==原文==}{>>意见<<}是我的批注,{>>意见<<}单独出现时是针对全文的意见。请逐条按意见修改对应的原文,改完删掉所有批注标记,输出干净的正文,并在最后列一份清单说明每条批注是怎么处理的。如果有看不懂或有歧义的批注,先列出来问我,不要自己猜。
Shift + 点击,逐段把段落加进选区。代码、无序列表、有序列表,卡片上会渲染出来。Cmd/Ctrl + B 加粗、Cmd/Ctrl + I 斜体、Cmd/Ctrl + Enter 保存、Esc 取消。Cmd/Ctrl + Z 撤销。批注直接保存在 Markdown 原文里,不依赖插件数据,跟着文件走:同步、复制、换设备都不会丢。
{>>整体:语气再正式一些,结尾补一段总结<<}
近年来,{==越来越多的企业开始重视数字化转型==}{>>补一组近三年的数据<<},但真正取得成效的并不多。
{==第一段……
第二段……==}{>>这两段整体重写:先举场景,再写如何实现<<}
{==原文==}{>>意见<<}:针对某段文字的批注,原文可以跨多个段落。{>>意见<<}:全文批注。<br>,这样每条意见都保持在一行内。编辑时会自动还原成换行。从插件市场安装:设置 → 第三方插件 → 浏览,搜索 “MD Annotator”。
手动安装:从 Releases 下载 main.js、manifest.json、styles.css,放到 <你的 vault>/.obsidian/plugins/md-annotator/,然后在设置 → 第三方插件里启用。
npm install
npm run dev # 监听构建
npm run build # 生产构建
test-vault/ 是开发用的测试 vault,插件文件以软链接方式指向工程根目录的构建产物。
Annotate AI-written drafts like a reviewer, then let the AI revise them according to your notes.
MD Annotator lets you select text in a Markdown note and attach a comment. Comments are written straight into the file using the standard CriticMarkup syntax ({==text==}{>>comment<<}), so any AI tool that reads the file knows exactly which passage each comment refers to.
Why: when you revise an AI draft, describing where to change things in a chat box ("the second sentence of paragraph three...") is slow and error-prone. Annotating the text in place removes that ambiguity. You review once, leave all your feedback, and hand the whole file back to the AI. You focus on judgement; the AI does the rewriting.
Features
Note:) to make annotations even more explicit for AI.The plugin UI is currently in Chinese.