quinn-777742 downloadsRead-time margin notes in the page gutter: cards or hover bubbles, widths that scale with the pane, a Chinese or English interface, and Markdown files that are never modified. Annotations live in one JSON file.
Margin notes for Obsidian that float in the page gutter, aligned with the exact line you annotated — and your Markdown files are never modified.
Select text in Reading view, write a note, and a card appears in the margin beside it. Each card top lines up with its annotated line; cards that would overlap cascade downward; a short leader line points from the card back into the text.
Nothing is ever written into your notes. Every annotation lives in one JSON file at the vault root (批注.json). Your .md files stay byte-for-byte identical, so they keep syncing, diffing and version-controlling cleanly, and the annotations survive removal of the plugin.
旁批插件:批注卡片浮在页边里,顶端和你批注的那一行对齐,而且绝不改动你的 Markdown 正文。
在阅读视图里选中文字、写下一条批注,卡片就出现在它旁边的页边里。卡片依次往下排,互不遮挡,并有一条短引线从卡片指回正文。
正文一个字节都不动。 所有批注存在库根的一个 JSON 文件里(批注.json)。你的 .md 文件保持原样,同步、比对、版本管理都干净;就算把插件卸载了,批注还在。
Obsidian → 设置 → 第三方插件 → 浏览 → 搜索 Margin Cards。
需要 Obsidian 1.7.2 或更高版本,仅支持桌面端(Windows / macOS / Linux)。移动端不支持,也未实测。
界面是完整双版的 —— 中文和英文都覆盖设置、弹窗、总览面板、提示消息和导出的批注清单。
你的批注内容、分类名和笔记文字永远不会被翻译或改写,变的只是外面的标签。
同一句话批两次就是两条批注,每条都记得自己指的是第几次出现,所以重复的句子也能挂对位置。
不用选字 —— 把鼠标停在一段话、一张表或一张图上,点「批注这一块」,卡片就属于整块,而不是一句话。
整块:(英文界面是 Block:)。这些开关互相独立,随便组合:
另外还有:卡片放哪一边(右 / 左 / 左右交替)、引线样式(虚线 / 实线 / 关闭)、正文列宽、卡片宽度占面板的百分比、卡片之间的间距。宽度跟着面板走,面板变窄时先让位给正文。
分类和它们的颜色在设置里可以改,默认给四个:Normal、Add on、Question、Summary。
命令名跟着界面语言走:
| 英文界面 | 中文界面 | 作用 |
|---|---|---|
| Add annotation to selection | 为选中文字添加批注 | 批注当前选区 |
| Manage annotations in this note | 管理本篇批注 | 列出、修改、删除本篇批注 |
| Refresh annotations in this note | 刷新本篇批注 | 改过正文后重新挂回 |
| Open the annotation overview panel | 打开批注总览面板 | 侧栏面板列出所有批注 |
| Annotate the block under the pointer | 为鼠标停着的那一块加批注 | 批注鼠标停着的那一段、那张表或那张图 |
左侧丝带图标点开总览面板。
设置里可以导出一份纯 Markdown(库根 批注清单.md),把批注列出来供复习或讨论。这是插件除了 批注.json 之外唯一会写的文件,按需重新生成,不会碰被批注的笔记。
导出清单的标题跟着界面语言走;文件名是设置项,你叫什么就一直叫什么。
<vault>/批注.json。一个可读的纯文本文件,没有数据库,没有隐藏状态。批注.json 都原样留着。MIT —— 见 LICENSE。
Obsidian → Settings → Community plugins → Browse → search Margin Cards.
Requires Obsidian 1.7.2 or newer, on desktop (Windows / macOS / Linux). Mobile is not supported and has not been tested.
The interface is fully bilingual — Chinese and English — for settings, dialogs, the overview panel, notices and the exported review list.
Your annotations, categories and notes are never translated or rewritten — only the labels around them.
Selecting the same sentence twice creates two annotations, and each one remembers which occurrence of that sentence it points at, so repeated text lands in the right place.
Don't select anything — hover a paragraph, a table or an image and click Annotate block (「批注这一块」 in the Chinese interface). The card then belongs to the block as a whole instead of to one phrase.
Block: (整块: in Chinese).These switches are independent and combine freely:
Plus: which side the cards live on (right / left / alternating both), leader line style (dashed / solid / off), body column width, card width as a percentage of the pane, and the gap between them. Widths scale with the pane and give way to the text when the pane gets narrow.
Categories and their colors are editable in settings; four ship as defaults (Normal, Add on, Question, Summary).
Command names follow the interface language:
| English interface | 中文界面 | What it does |
|---|---|---|
| Add annotation to selection | 为选中文字添加批注 | Annotate the current selection |
| Manage annotations in this note | 管理本篇批注 | List, edit, delete the annotations in this note |
| Refresh annotations in this note | 刷新本篇批注 | Re-anchor after you edited the text |
| Open the annotation overview panel | 打开批注总览面板 | Side panel with every annotation |
| Annotate the block under the pointer | 为鼠标停着的那一块加批注 | Annotate the paragraph, table or image the pointer is on |
A ribbon icon opens the overview panel.
Settings can export a plain Markdown file (批注清单.md at the vault root) containing your annotations, for review or study. This is the only file the plugin ever writes besides 批注.json, it is regenerated on demand, and it never touches the annotated notes.
The headings in the exported list follow the interface language; the file name is a setting and stays whatever you named it.
<vault>/批注.json. One readable file, no database, no hidden state.批注.json untouched.MIT — see LICENSE.