Changelog#
0.4.5 - 2026-03-27#
Fixed#
Fix selector for admonition title in togglebutton.js.
0.4.4 - 2026-01-14#
Fixed#
Upgrade used version in release workflow to the latest available.
Correct build command in
tests.yml.
0.4.3 - 2026-01-14#
Fixed#
Added missing information in
tests.yml.
0.4.2 - 2026-01-14#
Fixed#
Enhanced
setup.cfgwith complete metadata.Simplified
setup.pyto just callsetup().
0.4.1 - 2026-01-14#
Fixed#
Updated the release workflow to use a recent Python version.
0.4.0 - 2026-01-14#
Added#
Support for more languages in toggle button text (see README for full list) #66.
Added new functions (syncToggleHint, syncAllToggleHints) to dynamically update toggle button hints based on the current state #66. This allows developers to change the open or closed state of an element and have the button hint text update accordingly automatically.
Fixed#
Update togglebutton.js to use an admonition’s existing ID if present, instead of always generating a new one #66.
v0.3.2 - 2022-07-15#
Enhancements made#
Toggle arrow now points to the right, in order to more closely match the styles of other common documentation themes like Quarto and Material for MkDocs #49 (@choldgraf)
Toggle buttons are now more minimal and take up the full width to be easier to click, style is roughly inspired by JupyterLab #47 (@choldgraf)
Bugfixes#
Fix insertion of toggle hint into nested spans #45 (@janssenhenning)
Contributors to this release#
@Apteryks | @choldgraf | @janssenhenning | @tfiers |
v0.3.1#
This is release updates the behavior of the toggle button arrow for admonitions, to point down/up instead of down/right. See #38 for details.
v0.3.0#
Enhancements made#
ENH: Enhance toggle button design and layout #32 (@choldgraf)
IMPROVE: Allow clicking on whole admonition title #29 (@rkdarst)
ENHANCE: Improve hiding behavior for togglebuttons #33 (@choldgraf)
v0.2.2#
Bugs fixed#
🐛 BUG: fixing toggle button text overlap on narrow screens #17 (@choldgraf)
🐛 BUG: Fixing overlapping title on hidden admonitions #15 (@choldgraf)
Documentation improvements#
📚 DOC: release docs and removing circle #16 (@choldgraf)