Skip to content

Releases: frostybee/kazari

v1.2.1

Choose a tag to compare

@frostybee frostybee released this 10 Aug 03:54
  • fix(css): keep code block toolbars inside narrow viewports

Kazari v1.2.0

Choose a tag to compare

@frostybee frostybee released this 06 Aug 05:59

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

Choose a tag to compare

@frostybee frostybee released this 24 Jul 21:24

Added

  • Output panel: withOutput meta 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 as outputPanel, outputDefaultCollapsed,
    outputSeparator in kazari.config.yaml).
  • WithPostRender: register callbacks that post-process each block's HTML. Each receives the HTML
    and a BlockInfo (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-content is 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 collapse still 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

Choose a tag to compare

@frostybee frostybee released this 25 Jun 23:58

v1.0.1

Bug Fixes

  • Collapsible section icons: Fixed fold/unfold icons not rendering in collapsible section summaries. The --kz-collapse-closed-fg CSS variable defaulted to inherit, which caused the icon mask's background-color to resolve to the parent's background instead of the text color. Changed to currentColor.

Demo

  • Switched dark theme from github-dark to github-dark-default for the correct modern GitHub dark background (#0d1117 instead of legacy #24292e)
  • Updated the "No Frame" example to use a syntax-highlighted Go snippet instead of plain text

v1.0.0

Choose a tag to compare

@frostybee frostybee released this 25 Jun 03:23

Initial public release.