公孫了乙25 downloadsDraw and annotate Markdown notes in reading view with a stylus. Save ink in your vault.
Handwrite, circle, or underline text in Markdown reading view. On iPad, write with Apple Pencil and scroll with one finger. The toolbar offers an eraser, undo, and redo. Ink saves automatically in the vault. The interface is in Simplified Chinese.
To start, open a Markdown note in reading view and select the pencil button. Reading Ink works offline and stores annotations separately from the Markdown in the Reading Ink/ folder. It does not send data or collect telemetry.
在 Markdown 笔记的阅读视图点右上角的铅笔。Apple Pencil 写画,单指拖动文章。再次点铅笔结束批注,已保存的笔迹继续显示。工具条提供整笔橡皮、撤销和重做。连接键盘时可用 ⌘Z/⌘⇧Z,Esc 结束批注。
插件锁定首次批注时的正文宽度。分屏后如果视窗变窄,可左右拖动查看。若修改正文或改变排版导致位置不再吻合,阅读视图会显示「版面已变更」,保留笔迹并在原版面恢复时重新显示。
每次抬笔、擦除或撤销后自动保存。笔迹文件位于库内 Reading Ink/,路径与原笔记对应。插件运行期间,库内改名和移动会一起迁移笔迹。备份或同步时请一并保留这个目录。编辑视图使用正常的 Markdown 编辑器。
reading-ink-0.1.0.zip,将其中的 reading-ink 文件夹复制到测试库的 .obsidian/plugins/。如果 iPad 使用同步的库,可以先从 Mac 复制,再确认 iPad 收到了这三个插件文件。Mac Finder 可用 ⌘⇧. 显示隐藏的 .obsidian 文件夹。笔迹同步取决于库的同步设置,需允许同步 Reading Ink/ 中的 JSON 文件。
npm ci 后运行 npm run build,生成单文件 main.js。无需下载依赖。运行时使用 Obsidian 的插件 API 和浏览器 API。手动安装时使用 manifest.json、main.js 和 styles.css。
桌面 Chromium 模拟已覆盖绘制、滚动、取消笔画、擦除、撤销、重做、自动保存、重开、固定宽度和版面不匹配。笔感、防误触、手指惯性和系统手势仍需在 iPad 的 Obsidian 中实测。