letschips335 downloadsAdds hand-drawn arrows and handwritten notes to inline Markdown highlights.
Adds hand-drawn arrows and handwritten-style notes to inline Markdown highlights in Obsidian.
==highlight=={ann note="..."}.Crisp Annotations.Add annotation, or run Crisp Annotations: Add or edit annotation from the command palette.https://crisp-license.helloherve-xsn.workers.dev/api/verify-device solely for device count registration. If offline, the plugin falls back to local offline Ed25519 cryptographic verification. No vault note contents or private data are ever sent over the network.在 Obsidian 中把普通高亮扩展成带手绘箭头的行内标注。编辑模式保留可读、可移植的 Markdown;阅读模式渲染方向、颜色、箭头和手写标签。
crisp-annotations 文件夹。.obsidian/plugins/ 目录。Crisp Annotations。Add annotation,或从命令面板运行 Crisp Annotations: Add or edit annotation。标注弹窗底部会显示当前阅读布局、连接线、线型和字体摘要。布局、连接线和字体属于全局外观,可通过 Appearance 直接进入插件设置;方向、颜色和高亮仍保存在当前这条标注中。打开设置时,尚未提交的注释草稿会保留。
填写后可按 ⌘ Enter(macOS)或 Ctrl Enter(Windows/Linux)直接提交;空注释会在弹窗内提示,不会打断当前编辑。
光标进入已有标注时,再运行同一个命令可编辑。右键菜单会按当前状态显示 Edit annotation、开关目标高亮和 Remove annotation,移除时保留原文字。
如果只想快速写一句话,可运行 Crisp Annotations: Quick annotation:弹出轻量单行输入框,按 Enter 即可完成,并复用最近一次方向、颜色和高亮选择。
Crisp Annotations: Open annotations outline,可在右侧边栏查看当前文档全部标注。点击一条标注会激活对应正文页签、滚动到原文位置,并短暂高亮提示目标。Crisp Annotations: Export annotations summary to clipboard,可把当前文档的目标文字、颜色、方向和注释复制为 Markdown 清单。==迁移指南=={ann note="发布前先复核" place=bottom color=amber}
可选字段:
place: top、top-right、right、bottom-right、bottom、bottom-left、left、top-leftcolor: neutral、amber、blue、green、red、purple、rainbow、custommark: on 或 off手写语法省略字段时,默认是 place=bottom color=neutral mark=on。通过命令新建时使用插件设置中的默认值。
在 Obsidian → 设置 → Crisp Annotations → Annotation font 中可以选择:
Bundled handwriting:使用插件自带的 Shantell Sans;中文自动回退到系统楷体。Follow body text:跟随当前主题或 Obsidian 设置中的正文字体。Custom font:输入 CSS font-family 值,例如 "LXGW WenKai", cursive。字体需要已安装在当前设备上。自定义字体为空或无效时会安全回退,不影响正文内容。该设置只控制阅读模式中的手写标签;被标注的文字继续使用文章正文字体,编辑模式徽章继续使用 Obsidian 界面字体。
在 Obsidian → 设置 → Crisp Annotations 中可以统一调整所有标注的箭头:
Arrow style:Hand-drawn、Straight、Custom curve、Coiled spiral、Wavy line 或 Double line。旋转样式会沿连接线绘制连续多圈,并向箭头方向逐渐展开。Arrow line:Solid 或 Dashed;虚线只作用于连接线,箭头尖保持清晰。Custom curve:在 -100 到 100 之间调整弯曲方向和幅度,仅在 Custom curve 模式启用。Custom annotation color 同时提供取色器和 #RRGGBB 输入框。要使用这个色号,可在添加或编辑标注时选择 Custom,也可以把 Default color 设置为 Custom。自定义色会用于箭头、连接线、手写标签和轻量高亮。
Color theme preset 可整体切换 Classic Crisp、Morandi Muted、Kindle Paper 与 Cyberpunk Neon 四套调色板;每条标注保存的是语义颜色名称,之后切换主题无需改写 Markdown。
在 Obsidian → 设置 → Crisp Annotations → Annotation layout 中可以选择:
Inline:沿用正文附近的行内标注。Smart margins:阅读模式有足够空白时,把标注自动分配到左右页边;带方向的标注优先遵循原方向,其余标注自动均衡。Left margin:尽量统一放到左侧。Right margin:尽量统一放到右侧。Margin note width 可以在 140–260 px 之间调整页边文字宽度。页边模式会自动避让同侧标注,并用当前箭头样式、实线或虚线以及标注颜色绘制长连接线。
如果窗口、分栏或移动设备没有足够的页边空间,标注会自动退回原有行内布局,不挤压正文。这个设置只影响阅读模式,Markdown 写法和编辑方式不变。
设置页按“新标注默认值 → 阅读布局 → 标注外观 → 连接线 → 编辑模式”分组。只在对应模式下有意义的选项会自动出现,例如页边宽度、自定义字体和自定义曲率。打开 Remember last choice 后,新标注会复用最近一次方向、颜色和高亮状态。
== 的单行文本。npm run check
授权与第三方来源见 LICENSE、THIRD_PARTY_NOTICES.md 和 assets/OFL.txt。