X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/blobdiff_plain/297ff849b93e5a75074e321fe65500f0e091601c..69e35d3c515cd30c9baf82468008d0b0643e1e1f:/doc/plugins/toggle.mdwn diff --git a/doc/plugins/toggle.mdwn b/doc/plugins/toggle.mdwn index f25719ad3..5eac6e4a1 100644 --- a/doc/plugins/toggle.mdwn +++ b/doc/plugins/toggle.mdwn @@ -9,15 +9,15 @@ always see the full page content. Example use: - \[[toggle id="ipsum" text="show"]] + \[[!toggle id="ipsum" text="show"]] - \[[toggleable id="ipsum" text=""" + \[[!toggleable id="ipsum" text=""" Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. - [[toggle id="ipsum" text="hide"]] + [[!toggle id="ipsum" text="hide"]] """]] Note that you can include wiki markup in the toggleable text, @@ -30,4 +30,4 @@ 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. +hidden, then pass a parameter "open=yes" when setting up the toggleable.