]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/ikiwiki/directive/cutpaste.mdwn
enhance pagestats and rework example blog front page
[ikiwiki.git] / doc / ikiwiki / directive / cutpaste.mdwn
index a2ce40d64a0868c0055fe370ff0b249b349c2ee8..ca580e54f63e51cc4844be31febedc0739ea902d 100644 (file)
@@ -1,5 +1,5 @@
 The `copy`, `cut` and `paste` directives are supplied by the
-[[!iki plugins/cutpaste]] plugin.
+[[!iki plugins/cutpaste desc=cutpaste]] plugin.
 
 With these directives you can store and recall pieces of text in a page:
 
@@ -17,11 +17,11 @@ follow the paste directive that uses its text.  In fact, this is quite useful
 to postpone big blocks of text like long annotations and have a more natural
 flow.  For example:
 
-       \[[!toggleable id="cut" text="\[[!paste id=cutlongdesc]]"]]
-       \[[!toggleable id="copy" text="\[[!paste id=copylongdesc]]"]]
-       \[[!toggleable id="paste" text="\[[!paste id=pastelongdesc]]"]]
+       \[[!toggleable id="cut" text="[[!paste id=cutlongdesc]]"]]
+       \[[!toggleable id="copy" text="[[!paste id=copylongdesc]]"]]
+       \[[!toggleable id="paste" text="[[!paste id=pastelongdesc]]"]]
 
-       \[...some time later...]
+       [...some time later...]
 
        \[[!cut id=cutlongdesc text="""
           blah blah blah
@@ -40,7 +40,7 @@ Since you can paste without using double quotes, copy and paste can be used to
 nest directives that require multiline parameters inside each other:
 
        \[[!toggleable id=foo text="""
-         \[[!toggleable id=bar text="\[[!paste id=baz]]"]]
+         [[!toggleable id=bar text="[[!paste id=baz]]"]]
        """]]
 
        \[[!cut id=baz text="""