jepicaju862-lab147 downloadsMarkdown/PDF handwritten annotation with pen, highlighter, eraser, color, width, undo, redo, save, and exit tools, plus PDF text selection annotation (highlight, underline, strikethrough, and notes).
Handwritten annotation for Obsidian, built for phones, tablets and styluses.
Write, highlight and mark up your Markdown notes and PDFs with a pen, exactly where the content is — without ever modifying the source file. Ink is stored as separate annotation data, so your notes and PDFs stay byte-for-byte untouched.
English · 简体中文
Copy manifest.json, main.js and styles.css into:
<your vault>/.obsidian/plugins/mobile-ink-annotation-basic/
Then reload Obsidian and enable the plugin under Settings → Community plugins.
npm install
npm run build
Only Markdown (.md) and PDF (.pdf) files can be annotated. The command is hidden for any other file type.
The floating toolbar can be dragged by its handle and collapsed with the chevron button.
| Tool | What it does |
|---|---|
| Pen | Regular writing tool. |
| Highlighter | Semi-transparent marker for emphasis. |
| Eraser | Erases strokes. Its panel also contains Clear all annotations. |
| Select text | PDF only — enters text-selection mode for copying and text annotation. |
| Stroke width | Slider plus numeric input, from 1 to 36 px in 0.5 steps. |
| Color | Six presets (black, blue, green, yellow, red, purple) plus a custom color picker. |
Undo, Redo, Zoom out, Reset zoom and Zoom in live in the view's title bar so they stay reachable while the toolbar is collapsed.
Open a PDF and start the annotation view. You can write on the page straight away with the pen or highlighter.
To work with the PDF's own text, tap Select text and drag across a passage. A menu appears with:
Tap an existing text annotation to reopen it: you can copy its text, edit the attached note, change its color, or delete it.
To make Obsidian open PDFs in the annotation view automatically, enable the setting described below.
| Setting | Description |
|---|---|
| Open PDFs in the annotation view by default | When enabled, opening a PDF switches straight to this plugin's annotation view, showing any saved ink, highlights, underlines and notes. When disabled, PDFs open in Obsidian's native PDF viewer. Off by default. |
Annotations are stored outside your notes, in the plugin's own folder:
<your vault>/.obsidian/plugins/mobile-ink-annotation-basic/annotations/
Each annotated source file gets one .ink.json file there, named after the source file plus a short hash of its path. The file holds the strokes, the layout snapshot used to position them, and any PDF text annotations.
Because these files live inside your vault, they sync and back up along with everything else — but if you move your vault or reinstall the plugin manually, remember to carry the annotations/ folder with you.
annotations/ folder, removes the ink. Back up your vault before large-scale changes.1094620986 — for usage questions, tips and release announcements.A separate commercial build, Mobile Ink Annotation Pro, adds standalone handwritten notes, an annotation center for searching and organising annotations across Markdown, PDF and handwritten pages, licensed activation with device management, and private updates. Basic and Pro install side by side as independent plugins, so a Basic update never overwrites a Pro build.
Details, licensing options and downloads: https://peyote.info/plugins/mobile-ink-annotation-pro/
This Basic edition is free and fully usable on its own; Pro is entirely optional.
Licensed under the GNU General Public License, version 3 or later (GPL-3.0-or-later). The full text is in LICENSE.
This applies to the Basic edition in this repository. Mobile Ink Annotation Pro is a separate, independently built commercial product and is not covered by this license.
面向手机、平板与触控笔的 Obsidian 原笔迹批注插件。
在 Markdown 笔记和 PDF 上直接手写、圈画、标重点,笔迹叠加在内容之上,不会改写源文件。所有手写内容都作为独立的批注数据保存,笔记和 PDF 原文保持不变。
English · 简体中文
将 manifest.json、main.js 和 styles.css 复制到:
<你的库>/.obsidian/plugins/mobile-ink-annotation-basic/
然后重新加载 Obsidian,并在 设置 → 第三方插件 中启用。
npm install
npm run build
目前仅支持 Markdown(.md)和 PDF(.pdf)文件,其他文件类型下该命令不会出现。
悬浮工具栏可以通过拖动手柄移动,也可以用折叠按钮收起。
| 工具 | 说明 |
|---|---|
| 画笔 | 普通书写工具。 |
| 记号笔 | 半透明标记工具,适合标重点。 |
| 橡皮擦 | 擦除笔迹;其面板中还提供清除全部标注。 |
| 选择文本 | 仅 PDF 可用,进入文本选择模式,用于复制和文本批注。 |
| 线条粗细 | 滑块加数值输入,范围 1–36 px,步进 0.5。 |
| 调色盘 | 六种预设颜色(黑、蓝、绿、黄、红、紫)以及自定义取色。 |
撤销、重做、缩小、重置缩放、放大位于视图标题栏,工具栏收起时依然可用。
打开 PDF 并进入批注视图后,即可用画笔或记号笔直接书写。
若要处理 PDF 自身的文本,点击选择文本并拖选一段内容,会弹出操作菜单:
点击已有的文本批注可再次唤出菜单:复制原文、编辑附注、修改颜色或删除。
若希望 PDF 默认以批注视图打开,可开启下方设置项。
| 设置 | 说明 |
|---|---|
| PDF 默认使用标注视图打开 | 开启后,点击 PDF 会自动切换到本插件的批注视图,并显示已保存的手写标注、高亮、下划线和批注。关闭后 PDF 继续使用 Obsidian 原生阅读器。默认关闭。 |
批注数据保存在插件自己的目录中,不写入笔记内部:
<你的库>/.obsidian/plugins/mobile-ink-annotation-basic/annotations/
每个被批注的源文件对应一个 .ink.json 文件,文件名由源文件名加上路径哈希构成,其中保存笔迹、用于定位笔迹的版面快照,以及 PDF 文本批注。
这些文件位于库内,因此可以随库一起同步和备份;但如果你迁移库或手动重装插件,请记得一并保留 annotations/ 目录。
annotations/ 目录会一并丢失笔迹,大规模操作前请先备份库。1094620986 —— 用于使用交流、技巧分享和版本更新通知。Mobile Ink Annotation Pro 是独立的商业构建版本,在基础版之上提供独立手写笔记、可跨 Markdown / PDF / 手写页集中搜索整理批注的批注中心、激活码与设备许可管理,以及私有更新渠道。Basic 与 Pro 作为两个独立插件分开安装,基础版更新不会覆盖商业版。
功能介绍、授权方案与下载:https://peyote.info/plugins/mobile-ink-annotation-pro/
基础版本身完全免费且功能完整可用,是否升级 Pro 完全可选。
本项目采用 GNU 通用公共许可证第 3 版或更高版本(GPL-3.0-or-later) 授权,完整条款见 LICENSE。
该协议适用于本仓库中的基础版。Mobile Ink Annotation Pro 为独立构建的商业产品,不在本协议覆盖范围内。