summaryrefslogtreecommitdiff
path: root/doc/plugins/toggle.mdwn
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-07-21 11:33:43 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-07-21 11:34:49 -0400
commitd5e65e582a34ae2494fee493ddcb2b959e4a4bce (patch)
tree14bf1f7a604406ecb98523eda42c2e864321e1d0 /doc/plugins/toggle.mdwn
parentd13200f92b74aa3d4e315809c78f1c2ec6c925a7 (diff)
parente3a84952715cdd625258e1695cb74898006c31f3 (diff)
Merge commit 'smcv/prefix'
Conflicts: doc/news/version_2.49.mdwn Also fixed the newest news file (and my wikiannounce script).
Diffstat (limited to 'doc/plugins/toggle.mdwn')
-rw-r--r--doc/plugins/toggle.mdwn10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/plugins/toggle.mdwn b/doc/plugins/toggle.mdwn
index b33575824..5e0b8392a 100644
--- a/doc/plugins/toggle.mdwn
+++ b/doc/plugins/toggle.mdwn
@@ -1,5 +1,5 @@
-[[template id=plugin name=toggle author="[[Joey]]"]]
-[[tag type/chrome]]
+[[!template id=plugin name=toggle author="[[Joey]]"]]
+[[!tag type/chrome]]
With this plugin you can create links on pages that, when clicked, toggle
display of other parts of the page.
@@ -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,