Releases: d0u9/obsidian-dns-toolkit
Release list
0.3.0
Fixed
Live Preview no longer jumps back while scrolling. A long note would snap
back thousands of pixels once scrolled near the end, landing close to the
cursor. Colon block classes set font-size, and CodeMirror samples a single
line to derive the metrics it estimates every off-screen line with — so the
estimate oscillated, its measure loop restarted until it gave up, and the
scroll position went with it. A block in a note's last two lines was enough to
poison the estimate for the whole document.
Fences no longer leak into reading view. A block that runs past the end of a
rendering section has no closing sibling to pair with, so it was marked as
never closed; the warning style then outranked the rule that hides the fence,
and ::: showed up for every lead, epigraph, poem and aside in a long note.
The verdict is now taken back — tooltip included — wherever it is reached,
including when colon blocks are switched off.
Captions no longer pull themselves up with a margin the editor cannot measure.
Changed
Colon blocks are no longer set at their own size while editing, since that is
what broke scrolling. They lean on what is left instead: an outside edge above
and below, an epigraph's hairline, a compnote set to the right the way it
renders, narrowed measures for asides and epigraphs, dimmed fences, and Heiti
for the blocks the rendered view sets in a smaller sans.
Verse opens up in both views — larger, and led at 1.85, or 2.15 where the poem
is in Han characters. The editor detects CJK verse the way the rendered view
always has, and a stanza break is now spaced apart from the lines around it in
both.
0.2.2
0.2.1
0.2.0
Sync the lockfile with the CodeMirror dev dependencies The editor extension added @codemirror/state and @codemirror/view to package.json but not to the lockfile, which npm ci rejects, so the release build could not install anything. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
0.1.3
0.1.2
- Improved compatibility with the project’s TypeScript target by replacing unsupported Array.prototype.at() usage.
- Resolved ESLint unsafe call and member access warnings in custom container rendering.
No user-facing behavior changes.
0.1.1
Review fixes
- Remove
!importantdeclarations from plugin styles. - Replace performance-sensitive
:has()selectors. - Improve CJK text detection.
- Add searchable declarative settings for Obsidian 1.13 and later.
- Preserve settings compatibility with older Obsidian versions.
DnS Toolkit 0.1.0
Initial release
- Render custom Markdown containers delimited by
:::. - Support editorial container styles including
lead,epigraph,poem,aside,imgcap, andcompnote. - Add the Insert custom container command.
- Support Reading view and custom container styling.