Releases: frostybee/kazari
Releases · frostybee/kazari
Release list
v1.2.1
Kazari v1.2.0
This release adds kazari process, a post-build CLI that upgrades plain code blocks in already-built HTML to framed, syntax-highlighted Kazari blocks. It works on the output of any static site generator with zero Markdown pipeline changes.
Also included: a Hugo render hook that preserves per-block options through the build, a complete example Hugo site (live demo), and a fix for unstyled collapse sections when using explicit ranges without WithCollapsible.
See the full changelog for details.
v1.1.0
Added
- Output panel:
withOutputmeta key plus a---output---separator splits a block into a
highlighted command section and a plain-text output panel. Options:WithOutputPanel,
WithOutputCollapsed,WithOutputSeparator(also available asoutputPanel,outputDefaultCollapsed,
outputSeparatorinkazari.config.yaml). WithPostRender: register callbacks that post-process each block's HTML. Each receives the HTML
and aBlockInfo(Lang,Title,Frame,RawCode,LineCount,Theme,Meta).- Code annotations (
@[text](url)) now show an external link icon and open in a new tab.
Changed
not-contentis now applied to every block unconditionally; it previously required
WithContentExclusion.- Scrollbars restyled with a thinner floating thumb. Override
--kz-scrollbar-*to adjust.
Fixed
- Auto-collapse is suppressed when a line marker carries a label. Explicit
collapsestill wins. - Per-block theme overrides: correct toolbar background, full chrome variable remapping, no more
double-faded line numbers in alpha-color themes, and terminal backgrounds now respond to the toggle. - An empty language string is treated as plaintext without a warning.
v1.0.1
v1.0.1
Bug Fixes
- Collapsible section icons: Fixed fold/unfold icons not rendering in collapsible section summaries. The
--kz-collapse-closed-fgCSS variable defaulted toinherit, which caused the icon mask'sbackground-colorto resolve to the parent's background instead of the text color. Changed tocurrentColor.
Demo
- Switched dark theme from
github-darktogithub-dark-defaultfor the correct modern GitHub dark background (#0d1117instead of legacy#24292e) - Updated the "No Frame" example to use a syntax-highlighted Go snippet instead of plain text