Release Notes

0.2.0 “Is it on or is it off?” (12-28-2025)

Initial public release. This version is a complete rewrite of an earlier public but unreleased prototype.

Features

  • Toggle buttons let readers show or hide code cell outputs without affecting the code itself
  • Works with HTML-based formats: documents, websites, books, and Revealjs
  • Document-level settings via extensions.toggle namespace
    • output-toggle: Enable toggle buttons for all cells
    • output-hidden: Start outputs collapsed
    • output-sync: Synchronize toggles for multi-output cells
    • global-toggle: Add floating button to control all outputs
    • persist: Save toggle state to localStorage
    • button-text: Custom button label
  • Cell-level overrides with #| comments
    • toggle: Enable/disable toggle for a specific cell
    • output-hidden: Override default visibility
    • output-sync: Override sync behavior
    • button-text: Custom label for this cell
  • CSS custom properties (--tg-*) with automatic dark mode support