virkiin18 downloadsHandwrite and annotate PDF pages with pressure, layers and a boolean eraser. Your PDF is never modified.
English | 中文
Handwrite, sketch and annotate directly on PDF pages inside Obsidian — with pressure, layers, undo/redo, and annotations stored separately so your PDF is never modified.
Inkstone PDF (id
inkstone-pdf) · desktop only · Obsidian 1.8.0+
⚠️ Early preview
0.1.2is an early preview, not a finished product. The code is written by DSH (DeepSeek Harness). I test it, use it and pass the problems back. Expect rough edges.If something crashes, draws wrong, or simply does not do what you expect, email
[email protected]with what you did and what happened instead. No template needed; a screenshot helps.Back up
附件/Ink 标注/before you keep anything important in it.



Most PDF readers only highlight; handwriting lives on a tablet; and then you export screenshots and retype your notes. Inkstone PDF closes that seam: the PDF view inside Obsidian becomes a page you can write on, and the ink lives in your vault next to your notes.
Preview build: back up
附件/Ink 标注/before you annotate anything you care about.
Settings → Community plugins → Browse → search Inkstone PDF → Install → Enable.
main.js, manifest.json and styles.css from the latest release.<your vault>/.obsidian/plugins/inkstone-pdf/.Ctrl/Cmd+R), then enable Inkstone PDF in
Settings → Community plugins.| Action | How |
|---|---|
| Write | Pick the pen and write on any PDF page |
| Tools | P pen · H highlighter · E eraser · S select · L line · A arrow · R rect · O ellipse · G pan |
| Brush panel | Double-click (or right-click / long-press) a brush button |
| Temporary eraser | Hold F, release to get the previous pen back |
| Resize the brush | Hold Shift and drag the pen on the page: left/right = size, up/down = opacity |
| Select ink | Select tool, drag a box; then drag, scale, rotate, or nudge with arrow keys |
| Text selection | Select tool + Alt (gives the page back to the PDF text layer) |
| Undo / redo | Ctrl/Cmd+Z · Ctrl/Cmd+Shift+Z |
Every shortcut above is rebindable in Settings → Inkstone PDF → Key map.
附件/Ink 标注/<path>.json).Show performance summary command copies the summary
text to the clipboard so you can paste it into a bug report. The plugin never reads the clipboard.A preview build lives or dies on bug reports, so they are the most useful thing you can send.
[email protected]导出诊断信息 (export diagnostics) writes debug.json next to
the plugin. It holds performance counters, the plugin list and the paths of open files — skim it
before you attach it.<vault>/附件/Ink 标注/<path of the PDF>.json (folder configurable)..bak is written first); the
ink those masks covered becomes visible again.Roughly the order it will be worked on. None of it is a promise; any item can move, shrink or disappear.
In progress
Shift on the pan tool to zoom vertically, and a rebindable key that toggles
between pen and pan.Planned, shape not fixed
Not planned
npm install
npm run build # tsc --noEmit + esbuild
npm test # node --import tsx --test tests/*.test.ts
If the environment forbids spawning child processes (some sandboxes), bundle each test with esbuild
and run it with plain node; see docs/handoff-*.md for the exact commands used in this project.
src/ TypeScript sources
tests/ unit tests + jsdom end-to-end
scripts/deploy.mjs copy the build into <vault>/.obsidian/plugins/inkstone-pdf
main.js styles.css build output (committed so any tag is installable)
MIT — see LICENSE. Bundled dependencies and their notices: THIRD_PARTY_NOTICES.md.
在 Obsidian 里直接手写批注 PDF:压感、图层、布尔裁剪橡皮、撤销/重做;笔迹存在库内的独立文件里,原 PDF 一个字节都不改。
插件名 Inkstone PDF(id
inkstone-pdf),仅桌面端,Obsidian 1.8.0+。
⚠️ 先行测试版
0.1.2是先行测试版,不是成品。 代码由 DSH(DeepSeek Harness)开发,测试、实测和问题反馈由我来做,小毛病在所难免。崩溃、笔迹画错、操作不符合预期——发邮件到
[email protected],写清"做了什么 / 出现了什么现象"就行,不需要任何模板,有截图更好。重要批注请先备份
附件/Ink 标注/。



PDF 阅读器只能高亮,手写要去 iPad,写完还得导出、截图、手动誊回笔记——批注和笔记永远是两套东西。Inkstone PDF 把 Obsidian 的 PDF 视图变成一张可以直接写的纸,笔迹和你的笔记待在同一个库里。
先行测试版:正式拿来记东西之前,先备份
附件/Ink 标注/。
社区目录:设置 → 第三方插件 → 浏览 → 搜索 Inkstone PDF → 安装 → 启用。
手动:下载最新 Release 里的 main.js、manifest.json、styles.css,放到 <你的库>/.obsidian/plugins/inkstone-pdf/,重启 Obsidian(或 Ctrl/Cmd+R),再到 设置 → 第三方插件 启用。
| 操作 | 方式 |
|---|---|
| 书写 | 选钢笔,直接在 PDF 页面上写 |
| 工具 | P 钢笔 · H 荧光笔 · E 橡皮 · S 选择 · L 直线 · A 箭头 · R 矩形 · O 椭圆 · G 拖拽页面 |
| 笔刷面板 | 双击(或右键/长按)笔刷按钮 |
| 临时橡皮 | 按住 F,松手回到原来那支笔 |
| 调笔刷 | 按住 Shift,让笔贴着页面移动:左右改粗细、上下改不透明度 |
| 选中笔迹 | 选择工具拖框;之后拖动、缩放、旋转、方向键微移 |
| 文本选择 | 选择工具 + Alt(把页面交还给 PDF 文本层) |
| 撤销/重做 | Ctrl/Cmd+Z · Ctrl/Cmd+Shift+Z |
以上键位都能在 设置 → Inkstone PDF → 键位映射 里改。
附件/Ink 标注/<路径>.json)。先行测试版最缺的就是问题报告,所以那是你能给出的最有用的东西。
[email protected]debug.json,里面是性能计数、插件列表和打开文件的路径,发之前自己扫一眼。<库>/附件/Ink 标注/<PDF 路径>.json(文件夹可改)。.bak),被它们盖住的墨迹会重新显示。大致按动手顺序排,都不是承诺,任何一项都可能提前、推迟或砍掉。
正在做
Shift 纵向缩放页面,外加一个可重绑的「笔 / 拖拽」切换键。计划中,形态未定
明确不做
页面级图层、放大书写模式、独立笔盒、写回 PDF 注释、富文本。
MIT,见 LICENSE;打包的第三方代码与声明见 THIRD_PARTY_NOTICES.md。