aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins/toggle.mdwn
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-07-02 16:02:01 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-07-02 16:02:01 -0400
commit895faed6428f3523871d29ed82b0ab3326453b75 (patch)
treebeca73381f8d9289efff5c311e20656d79894bdf /doc/plugins/toggle.mdwn
parentd593533af58d5133ef6ecfc4323e3e1d55d71c48 (diff)
downloadikiwiki-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.mdwn3
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.