From 895faed6428f3523871d29ed82b0ab3326453b75 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 2 Jul 2008 16:02:01 -0400 Subject: toggle: Add support for toggles that are open by default. Also fix to work in preview mode. --- doc/plugins/toggle.mdwn | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc/plugins/toggle.mdwn') 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. -- cgit v1.2.3