Skip to content

Releases: qrkks/zotero-annotation-markdown

Zotero Annotation Markdown 0.11.0

Choose a tag to compare

@github-actions github-actions released this 30 Sep 09:27

Added

  • Add optional acceleration when clearing tag filters restores many annotations. The experimental option is off by default and currently supports Zotero 10.0.3. It uses cached row heights and restores distant native rows in small batches; it does not accelerate the first opening.

Changed

  • Remove the experimental label from page annotation popup Markdown rendering. Keep its independent switch and off-by-default behavior.
  • Clarify when experimental tag-filter restoration acceleration applies, including when to enable it, its supported Zotero version, and the first-opening limitation.

Fixed

  • Keep popup and sidebar Markdown previews synchronized after editing the same annotation, and stabilize formula scrolling in popups.
  • Reduce add-on overhead when opening large annotation lists, including when Markdown rendering is disabled.
  • Support Markdown emphasis boundaries next to CJK text.
  • Update markdown-it to 14.3.1 to fix excessive processing time for certain automatically linked text.

新增

  • 新增可选的标签筛选恢复加速功能,减少取消筛选时大量标注恢复造成的卡顿。该实验性选项默认关闭,目前支持 Zotero 10.0.3,使用缓存行高并分批恢复远处原生标注行,不加速首次打开。

变更

  • 移除页内标注弹窗 Markdown 渲染的实验性标签,保留独立开关和默认关闭行为。
  • 补充实验性标签筛选恢复加速的使用条件,说明开启时机、支持的 Zotero 版本和首次打开限制。

修复

  • 编辑同一条标注后,同步弹窗与侧栏的 Markdown 预览,并稳定弹窗中的公式滚动。
  • 减少大型标注列表打开时的插件开销,包括 Markdown 渲染关闭时的额外开销。
  • 支持紧邻中日韩文字的 Markdown 强调语法边界。
  • 更新 markdown-it 至 14.3.1,修复部分自动链接文本处理耗时过长的问题。

Full Changelog: v0.10.2...v0.11.0

Zotero Annotation Markdown 0.10.2

Choose a tag to compare

@github-actions github-actions released this 28 Sep 01:01

Fixed

  • Open the fast editor automatically for newly focused empty page annotation popups after Zotero's layout settles, without requiring a second click.
  • Keep popup fast editing independent from experimental popup Markdown rendering, preserve the native fallback, and cancel automatic takeover when focus moves elsewhere.

修复

  • 新建空页内标注弹窗获得焦点后,等待 Zotero 布局稳定并自动打开快速编辑器,无需再次点击。
  • 将弹窗快速编辑与实验性弹窗 Markdown 渲染解耦,保留原生回退,并在焦点移到别处时取消自动接管。

Full Changelog: v0.10.1...v0.10.2

Zotero Annotation Markdown 0.10.1

Choose a tag to compare

@github-actions github-actions released this 27 Sep 11:49

Fixed

  • Keep page annotation popups open when Escape exits the fast editor, returning to the Markdown preview on the first press.
  • Stabilize popup outline clicks and hover tooltips while Zotero continues updating popup DOM and position.
  • Make first-time editing of empty popup comments predictable, retain scrolling after large pastes, restore the native Add Comment entry when left empty, and keep newly rendered long previews inside the Reader viewport.

修复

  • 在快速编辑器中首次按下 Escape 时仅退出编辑并返回 Markdown 预览,不再同时关闭页内标注弹窗。
  • Zotero 持续更新弹窗 DOM 和位置时,保持弹出大纲的点击与悬停提示稳定可用。
  • 统一空弹出评论的首次编辑行为;大量粘贴后保持可滚动,内容仍为空时恢复原生“添加评论”入口,并将新生成的长预览限制在 Reader 可视区域内。

Full Changelog: v0.10.0...v0.10.1

Zotero Annotation Markdown 0.10.0

Choose a tag to compare

@github-actions github-actions released this 24 Sep 23:38

Added

  • Extend the floating outline to long rendered page annotation popups with at least two headings. The popup outline stays outside Zotero's annotation DOM, follows the remembered open/closed preference, and remains hidden while editing.

Improved

  • Reveal popup Markdown and its outline together only after layout settles, keep them visible through repeated Zotero position and child-list updates, and cap the initial hidden wait when Zotero's final position is delayed.
  • Keep the compact popup outline label on one line and constrain the expanded panel to the available viewport height.

新增

  • 浮动大纲现已支持包含至少两个标题的长页内标注弹窗。弹窗大纲位于 Zotero 标注 DOM 之外,沿用已记住的展开/收起偏好,并在编辑时保持隐藏。

改进

  • 仅在布局稳定后同时显示弹窗 Markdown 与大纲;Zotero 后续反复更新位置或子节点时保持可见,并在最终定位延迟时限制首次隐藏等待时间。
  • 弹窗大纲的小标签保持单行,展开面板高度限制在当前视口可用空间内。

Zotero Annotation Markdown 0.9.0

Choose a tag to compare

@github-actions github-actions released this 23 Sep 03:58

What's new

Popup comment rendering

  • Add experimental Markdown rendering for page annotation popups. It is disabled by default and can be enabled in Settings → Annotation Markdown → Reader Annotations.
  • Stabilize popup sizing and positioning so comments appear at their final native position without visible flicker or jumping. Rendered popups use the responsive fast editor when available and fall back completely to Zotero's native behavior when the feature is disabled.

Highlight syntax

  • Support ==Highlighted text== and safe optional color suffixes such as ==Risk=={.red}. Available presets are yellow, red, orange, green, blue, purple, and gray.

Improvements

Outline display

  • Show rendered KaTeX formulas directly in floating-outline entries. Hover tooltips preserve the source TeX so complex formulas remain unambiguous.

新增

增加弹出评论渲染

  • 新增实验性的页内标注弹窗 Markdown 渲染;默认关闭,可在 设置 → Annotation Markdown → Reader Annotations 中开启。
  • 稳定弹窗尺寸与定位,使评论直接显示在最终原生位置,不再出现可见闪烁或跳动。渲染后的弹窗在能力可用时使用响应更快的编辑器;关闭该功能后完整回退 Zotero 原生行为。

支持高亮语法

  • 支持 ==高亮文字==,并可添加 ==风险=={.red} 等安全颜色后缀;提供黄色、红色、橙色、绿色、蓝色、紫色和灰色预设。

改进

大纲显示优化

  • 浮动大纲条目直接显示已渲染的 KaTeX 公式;悬停提示保留 TeX 源码,使复杂公式的结构保持明确。

Full Changelog: v0.8.1...v0.9.0

Zotero Annotation Markdown 0.8.1

Choose a tag to compare

@github-actions github-actions released this 21 Sep 02:44

What's new

  • Set floating outline text size independently from 80% to 200%. The outline panel grows when space allows.
  • Increase the Markdown preview text size limit to 200% and place its control with the reader annotation options.
  • Use t: or t: at the start of a line as a shorter TODO directive, in either letter case. It follows the existing automatic tag and cleanup settings.
  • Show math in floating outline titles once, without KaTeX's duplicate accessibility and source text.

新增与修复

  • 浮动大纲可单独设置 80%–200% 的文字大小;空间允许时,面板会随字号加宽。
  • Markdown 预览字号上限提高到 200%,设置项移到阅读器标注选项中。
  • 行首可用 t: 或 t: 简写待办指令,不区分大小写,沿用现有的自动加标签及清理设置。
  • 浮动大纲中的数学公式标题不再重复拼接辅助阅读文字和公式源码。

Full changelog

Zotero Annotation Markdown 0.8.0

Choose a tag to compare

@github-actions github-actions released this 19 Sep 07:49

What's new

  • Add an optional lowercase todo tag when a saved annotation comment has a line starting with todo: or todo:, regardless of letter case.
  • Add optional cleanup: when a saved comment edit removes the TODO directive, remove its lowercase todo tag. This can also remove a manually added lowercase todo tag; existing annotations are not scanned in bulk.
  • Put both options in the new Annotation Tags settings group. Both are off by default, and cleanup works when automatic tagging is enabled.

新增

  • 标注评论保存后,若某一行以 todo: 或 todo: 开头(不区分英文字母大小写),可自动添加小写 todo 标签。
  • 可选自动清理:编辑评论并删除待办指令后,移除小写 todo 标签。若这个小写标签是手动添加的,也可能一同移除;不会批量扫描旧标注。
  • 两个选项集中在新的 Annotation Tags 设置分组,均默认关闭;自动清理需启用自动添加。

Full changelog

Zotero Annotation Markdown 0.7.1

Choose a tag to compare

@github-actions github-actions released this 17 Sep 02:32

Version 0.7.1 fixes two rendering and navigation regressions.

Fixed

  • Preserve prose immediately following $$...$$ display math, including multiline formulas and formulas in list items.
  • Hide the floating outline when the annotation sidebar tab is not visible, including when a page annotation popup selects the corresponding hidden sidebar row.

0.7.1 版本修复了两项渲染与导航回归。

修复

  • 保留紧跟在 $$...$$ 显示公式后的正文,包括多行公式和列表项中的公式。
  • 当前侧栏不在“注释”标签页时隐藏浮动大纲,避免页内标注弹窗选中隐藏的侧栏标注后在左上角误显示大纲。

Full changelog / 完整变更: v0.7.0...v0.7.1

Zotero Annotation Markdown 0.7.0

Choose a tag to compare

@github-actions github-actions released this 10 Sep 04:41

Version 0.7.0 brings two navigation improvements for long Markdown annotations in Zotero Reader: a persistent floating outline and more predictable sidebar positioning.

What's new

Floating outline

  • Show a compact outline when the selected annotation contains at least two headings.
  • Keep the outline fixed beside the annotation sidebar, follow heading hierarchy, highlight the current section, and navigate without scrolling the PDF page.
  • Remember whether you leave the outline open or closed across annotations, Readers, and Zotero restarts.
  • Enable or disable the feature from the add-on settings; editing temporarily hides the outline without changing your preference.

Long annotation navigation

  • Position annotations taller than the sidebar viewport consistently near the top when selected from either the sidebar or document page.
  • Retain Zotero's native smooth scrolling and native positioning for shorter annotations.
  • Preserve the visible sidebar position when leaving the fast editor with Escape, restoring an offscreen annotation only when necessary.
  • Cancel pending position recovery when a newer user action takes priority, avoiding unexpected jumps.

0.7.0 版本为 Zotero 阅读器中的长 Markdown 标注带来两项导航改进:可持续使用的浮动大纲,以及更稳定、可预期的侧栏定位。

新增与改进

浮动大纲

  • 当前选中标注包含至少两个标题时,显示紧凑的浮动大纲。
  • 大纲固定在标注侧栏旁,保留标题层级、高亮当前章节,导航时不会滚动 PDF 页面。
  • 在不同标注、Reader 和 Zotero 重启后,记住用户选择的展开或收起状态。
  • 可在插件设置中启用或关闭;编辑时仅暂时隐藏,不改变用户偏好。

长标注导航

  • 从侧栏或文档页面选择高于侧栏视口的长标注时,都会稳定定位到靠近顶部的位置。
  • 保留 Zotero 原生平滑滚动,短标注继续沿用原生定位。
  • 按 Esc 退出快速编辑时保留当前可见位置,仅在标注完全离开视窗时按需恢复。
  • 新的用户操作会取消尚未执行的定位恢复,避免意外跳动。

Full changelog / 完整变更: v0.6.3...v0.7.0

Zotero Annotation Markdown 0.6.3

Choose a tag to compare

@github-actions github-actions released this 02 Sep 13:23

This patch release improves annotation editing and scrolling in Zotero Reader.

Changed

  • Simplify the fast editor setting label and description to focus on reducing typing lag in documents with many annotations.

Fixed

  • Restore the fast editor's native right-click menu and keep cut, copy, and paste available without closing the editor.
  • Keep the fast editor open while dragging the annotation sidebar scrollbar.
  • Preserve the selected annotation and its expanded preview during sidebar scrolling.
  • Keep caret placement working when clicking back into the fast editor after scrolling, without forced refocusing or sidebar jumps.
  • Allow wide display equations to scroll horizontally without opening the comment editor or collapsing the preview.

本补丁版本改善 Zotero 阅读器中的批注编辑与滚动体验。

调整

  • 精简快速编辑器的设置名称和说明,突出减少批注较多的文档中的输入卡顿。

修复

  • 恢复快速编辑器的原生右键菜单,使用剪切、复制和粘贴时保持编辑器打开。
  • 拖动批注侧栏滚动条时保持快速编辑器打开。
  • 侧栏滚动时保留批注选中状态及展开的预览。
  • 滚动后点击快速编辑器可正常定位光标,避免强制重新聚焦和侧栏跳动。
  • 支持超宽块级公式横向滚动,避免滚动时误入评论编辑或收起预览。

Full changelog / 完整变更: v0.6.2...v0.6.3