diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-07-02 16:02:01 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-07-02 16:02:01 -0400 |
commit | 895faed6428f3523871d29ed82b0ab3326453b75 (patch) | |
tree | beca73381f8d9289efff5c311e20656d79894bdf /doc/plugins/toggle.mdwn | |
parent | d593533af58d5133ef6ecfc4323e3e1d55d71c48 (diff) | |
download | ikiwiki-895faed6428f3523871d29ed82b0ab3326453b75.tar ikiwiki-895faed6428f3523871d29ed82b0ab3326453b75.tar.gz |
toggle: Add support for toggles that are open by default.
Also fix to work in preview mode.
Diffstat (limited to 'doc/plugins/toggle.mdwn')
-rw-r--r-- | doc/plugins/toggle.mdwn | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/plugins/toggle.mdwn b/doc/plugins/toggle.mdwn index cb76d0b7b..b33575824 100644 --- a/doc/plugins/toggle.mdwn +++ b/doc/plugins/toggle.mdwn @@ -28,3 +28,6 @@ each other, but can be located anywhere on the page. There can also be mutiple toggles that all toggle a single togglable. The id has a default value of "default", so can be omitted in simple cases. + +If you'd like a toggleable to be displayed by default, and toggle to +hidden, then pass a parameter "open=true" when setting up the toggleable. |