Repository navigation
Releases
0.4.1
Community review fixes.
- Lint: narrow internal CodeMirror syntax-property lookups so unsafe-argument warnings are resolved at the dependency boundary; missing or non-string class props are now ignored explicitly.
- Build: clean-environment build verified after the pnpm settings migration (onlyBuiltDependencies now lives in pnpm-workspace.yaml).
- Docs: the cross-promotion table now lists every published Moy plugin, including Harbor Tab.
0.4.0
New marker features and settings refinements.
- First occurrence: A decorate-once option renders only the first match of a rule per note, in both the editor and reading view.
- Image sizing: Width, height and corner radius accept px or em (plain numbers as px), with a single group-level reset and a shortened label.
- Settings: Size controls share one heading; descriptions across marker options were shortened.
- Fixes: First-occurrence targeting now handles frontmatter and later sections in reading view; schema validation matches runtime image-size limits.
0.3.3
Maintenance release for the community review process; no runtime behavior changes.
- Toolchain: The build-script allowlist now covers both pnpm 10 and pnpm 11 sandboxes, and the build was re-verified in a clean environment.
- Types: CodeMirror prop lookups carry explicit type annotations.
中文说明(点击展开)
面向社区审核流程的维护版本,运行时行为不变。
- 工具链:构建脚本白名单同时覆盖 pnpm 10 与 pnpm 11 沙箱,并在干净环境下重新验证构建。
- 类型:CodeMirror prop 读取补充显式类型标注。
0.3.2
Bugfix release.
-
Settings layout: The rule workbench now keeps its two-column layout in narrower pop-out settings windows — the single-column breakpoint was lowered from 620px to 480px.
-
Toolchain: The build pipeline migrated to pnpm; releases are built with a frozen-lockfile install and completed lockfile integrity metadata. No runtime behavior changes.
中文说明(点击展开)
问题修复版本。
-
设置页布局:规则工作台在更窄的独立设置窗口中仍保持双列布局,单列断点从 620px 下调至 480px。
-
工具链:构建链迁移至 pnpm,发布改用冻结锁文件安装并补齐 lockfile 完整性元数据;运行时行为不变。
0.3.1
First public release of Keyword Decorator.
-
Obsidian compatibility: Requires Obsidian 1.8.7 or later. Update Obsidian before installing.
-
Rule workbench: Manage rules with automatic saving, master and per-rule switches, filtering, duplication, reordering and deletion undo, in a responsive layout with independently scrolling panes.
-
Groups and inheritance: Organize rules into collapsible groups, enable or disable a group together, share appearance with per-rule overrides, reorder whole groups, and export or import a single group with collision-safe IDs.
-
Bulk rule management: Preview and add rules from keyword lines, spreadsheet columns or JSON, and import/export rules with order, groups and switches preserved.
-
Image and icon markers: Search Lucide icons and vault images, use HTTP/HTTPS image URLs or pasted SVG, adjust dimensions and hide matched text; the source text stays editable and returns when an image fails.
-
Emoji shortcodes: A built-in group converts 1,914 offline aliases such as
:smile:in the editor and reading view, with enable and hide-text switches. -
Whole-line styling: Apply a rule's appearance to the entire logical line, with regex
^/$anchors matching logical lines consistently. -
Source mode toggle: Source mode stays undecorated by default, with an opt-in setting that preserves the same content exclusions as Live Preview.
-
Rule multi-selection: Ctrl/Cmd-click to toggle, Shift-click for a range, and drag the selection together within or between groups.
-
Compact settings layout: Icon buttons stay square, search fields stay visible, and crowded panes switch to single-column navigation.
-
Matching: One Keywords field accepts one or several lines, with legacy rule semantics preserved.
-
Decoration boundaries: Decorations and custom CSS stay inside Markdown note bodies. Link labels and destinations, code, math, properties, tags, embeds and other rendered UI are excluded, including whole-line styles.
中文说明(点击展开)
Keyword Decorator 首个公开发布版本。
-
Obsidian 兼容性:需要 Obsidian 1.8.7 或更高版本,请先更新 Obsidian 再安装。
-
规则工作台:自动保存、总开关与单规则开关、筛选、复制、排序和删除撤销,双栏独立滚动的响应式布局。
-
分组与继承:可折叠分组、整组启停、共享样式与单规则覆盖、整组排序,以及带 ID 冲突处理的单组导出导入。
-
批量规则管理:从关键词行、表格列或 JSON 预览并添加规则,导入导出保留顺序、分组与开关。
-
图片与图标装饰:搜索 Lucide 图标和库内图片,支持网络图片链接与粘贴 SVG,可调尺寸并隐藏匹配文字;原文仍可编辑,图片失败时恢复显示。
-
Emoji 短码:内置分组在编辑与阅读视图离线转换 1,914 个别名(如
:smile:),可整组启停并隐藏短码。 -
整行样式:将规则外观应用于整个逻辑行,正则
^/$按逻辑行一致匹配。 -
源码视图开关:源码模式默认不装饰,可在设置中开启,并沿用实时预览的内容排除规则。
-
规则多选:Ctrl/Cmd 点击切换,Shift 点击选范围,整批拖动支持跨分组并保留相对顺序。
-
紧凑设置布局:图标按钮保持正方形,搜索框完整显示,空间不足时切换单列导航。
-
匹配方式:「关键词」字段支持一行或多行,旧规则语义保留。
-
装饰范围:装饰与自定义 CSS 限定在笔记正文,排除链接、代码、公式、属性、标签、嵌入等渲染界面,整行样式同样跳过。