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.togglenamespaceoutput-toggle: Enable toggle buttons for all cellsoutput-hidden: Start outputs collapsedoutput-sync: Synchronize toggles for multi-output cellsglobal-toggle: Add floating button to control all outputspersist: Save toggle state to localStoragebutton-text: Custom button label
- Cell-level overrides with
#|commentstoggle: Enable/disable toggle for a specific celloutput-hidden: Override default visibilityoutput-sync: Override sync behaviorbutton-text: Custom label for this cell
- CSS custom properties (
--tg-*) with automatic dark mode support