Skip to content

Commit fd75840

Browse files
authored
docs/use: Also document toggle-shown (#55)
- This is not shown anywhere except the readme, and I just spent more than a short time looking for this option, so adding it to save everyone time. I haven't tried hard to keep it organized, but git grep says that `toggle-shown` is not anywhere in docs/.
1 parent d6bbae6 commit fd75840

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/use.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ A note!
7575
A warning!
7676
:::
7777

78+
If you add the class `toggle-shown`, it will be un-toggled by default but collapsable (`:class: dropdown, toggle-shown`).
79+
7880

7981
(toggle-directive)=
8082
## Use the `{toggle}` directive to toggle blocks of content

0 commit comments

Comments
 (0)