]> sipb.mit.edu Git - ikiwiki.git/commitdiff
Migrate escaped directives (\[[) in doc/plugins to have \[[! prefix
authorSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>
Mon, 21 Jul 2008 11:46:35 +0000 (12:46 +0100)
committerSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>
Mon, 21 Jul 2008 11:46:35 +0000 (12:46 +0100)
33 files changed:
doc/plugins/calendar.mdwn
doc/plugins/conditional.mdwn
doc/plugins/conditional/discussion.mdwn
doc/plugins/contrib/gallery.mdwn
doc/plugins/contrib/img/discussion.mdwn
doc/plugins/contrib/linguas.mdwn
doc/plugins/contrib/sar.mdwn
doc/plugins/contrib/syntax.mdwn
doc/plugins/fortune.mdwn
doc/plugins/googlecalendar.mdwn
doc/plugins/graphviz.mdwn
doc/plugins/haiku.mdwn
doc/plugins/img.mdwn
doc/plugins/inline.mdwn
doc/plugins/linkmap.mdwn
doc/plugins/more.mdwn
doc/plugins/pagecount.mdwn
doc/plugins/pagestats.mdwn
doc/plugins/pagetemplate.mdwn
doc/plugins/poll.mdwn
doc/plugins/polygen.mdwn
doc/plugins/postsparkline.mdwn
doc/plugins/recentchanges.mdwn
doc/plugins/sparkline.mdwn
doc/plugins/table.mdwn
doc/plugins/tag.mdwn
doc/plugins/tag/discussion.mdwn
doc/plugins/testpagespec.mdwn
doc/plugins/teximg.mdwn
doc/plugins/toc.mdwn
doc/plugins/toggle.mdwn
doc/plugins/version.mdwn
doc/plugins/write/tutorial.mdwn

index 07f4a7b5fcadae318816cd90ccd71e29e39d33dc..20da26400b2426e92167047f39a35885a25c74d4 100644 (file)
@@ -6,11 +6,11 @@ some blogs.
 
 # examples
 
-       \[[calendar ]]
+       \[[!calendar ]]
 
-       \[[calendar type="month" pages="blog/* and !*/Discussion"]]
+       \[[!calendar type="month" pages="blog/* and !*/Discussion"]]
 
-       \[[calendar type="year" year="2005" pages="blog/* and !*/Discussion"]]
+       \[[!calendar type="year" year="2005" pages="blog/* and !*/Discussion"]]
 
 This plugin is inspired by the calendar plugin for Blosxom, but
 derives no code from it. This plugin is essentially a fancy front end
index c4477089183176549800993aa74fc45fb22017ef..5793cb30e61cd7dd92f736fff78f6948c7c45328 100644 (file)
@@ -4,7 +4,7 @@
 With this plugin, you can make text be conditionally displayed on a page.
 For example:
 
-       \[[if test="enabled(smiley)"
+       \[[!if test="enabled(smiley)"
              then="The smiley plugin is enabled :-)"
              else="No smiley plugin here.."]]
 
index ff37623c3e7970150a464bc08215899050ea5b4c..629d05940e438c1d4ced78fc3b6cc39d7a35caa2 100644 (file)
@@ -38,10 +38,10 @@ I have a sidebar that contains
 <pre>
   #### Archives
 
-  \[[calendar type="year" months_per_row="6"  pages="blog/* and !*/Discussion"]]
-  \[[calendar type="month" pages="blog/* and !*/Discussion"]]
+  \[[!calendar type="year" months_per_row="6"  pages="blog/* and !*/Discussion"]]
+  \[[!calendar type="month" pages="blog/* and !*/Discussion"]]
   &lt;h4&gt;Indices&lt;/h4&gt
-  \[[map pages="archives/* and !*/Discussion"]]
+  \[[!map pages="archives/* and !*/Discussion"]]
 </pre>
 I am trying to make it so that the archives and index only show up if the destpage is either blog/* or / -- the top of the wiki. Unfortunately, I don't think I am getting the
 conditional right -- I have a "]] left over at the end (looking at the rendered html). Ideally, I would like to be able to do todays calendar on the top level pagel and 
index 0af39bcdffc9171d7ac2305c051c0b1072936c73..ed9e17f32bb6dc0779cabd11548bfa2a533d44f4 100644 (file)
@@ -6,7 +6,7 @@ SVN repository of plugin is located at <http://ned.snow-crash.org:8080/svn/ikiwi
 
 
 USAGE : 
-\[[gallery imagedir="images" option="value"]]
+\[[!gallery imagedir="images" option="value"]]
 
 Available options : <br>
     * imagedir(required) => Directory containing images. It will scan all the files with jpg|png|gif extension from the directory and will put it in the gallery.<br>
index d4b38fb61dc365e287df3bd3b92c9cdc870b86e5..ea4ccb042bdd7e3b2f1faefcede8fb21c6b7fb31 100644 (file)
@@ -10,18 +10,18 @@ differently scaled versions of the image, why not just create three pages
 and use the plugin once per page? Something like this on the first one if
 it's got multiple clickable thumbnails:
 
-       \[[img foo.jpg width=256 link=page2]]
+       \[[!img foo.jpg width=256 link=page2]]
 
 This on the second:
 
-       \[[img foo.jpg width=1024 link=page3]]
+       \[[!img foo.jpg width=1024 link=page3]]
        \[[small|page1]]
        \[[medium|page2]]
        \[[large|page3]]
 
 This on the third:
        
-       \[[img foo.jpg link=page3]]
+       \[[!img foo.jpg link=page3]]
        \[[small|page1]]
        \[[medium|page2]]
        \[[large|parge3]]
index 5879acc73353e6de2bf34ad5928af0337a4b4478..0c336684625a304fa08206f26d041191e1907acd 100644 (file)
@@ -20,14 +20,14 @@ Translatable pages and translations must have the following format:
 `pagename.$LANG`, where `$LANG` is a ISO639-1 (two-letter) language code.
 To enable linguas, add the following line in the source code of the page:
 
-       \[[linguas ]]
+       \[[!linguas ]]
 
 Note that linguas is only required in one of the pages (the original,
 for instance); the rest of translations will be automatically
 updated. Additionally, it is also possible to specify the title of
 the translation:
 
-       \[[linguas title="Translated title"]]
+       \[[!linguas title="Translated title"]]
 
 
 Template
@@ -103,4 +103,4 @@ The following fixes it:
         +               push @links, IkiWiki::htmllink($page, $destpage, $trans, noimageinline => 0, forcesubpage => 0, linktext => $link);
                 }
          
-                my $otherlinguas = 'Translations:';
\ No newline at end of file
+                my $otherlinguas = 'Translations:';
index 4320f959de5884ede6032a01cec62a2a0289124a..77c41a95594baa84c9314c2168994f710f3fc0d4 100644 (file)
@@ -25,8 +25,8 @@ The global dictionary page is like this:
 
     ## Technical terms
 
-    - [[!sar search="smtp" first="\[[wp SMTP]]" next="‘SMTP‘"]]
-    - [[!sar search="pop3" first="\[[wp POP3]]" next="’POP3’"]]
+    - [[!sar search="smtp" first="\[[!wp SMTP]]" next="‘SMTP‘"]]
+    - [[!sar search="pop3" first="\[[!wp POP3]]" next="’POP3’"]]
 
 The search expressions must be surrounded by double dashes in a source ikiwiki
 page, like this:
@@ -70,11 +70,11 @@ value is `*`, but a recommended value is `link(tag/sar)`.
 
 In a ikiwiki source page we can write this
 
-    \[[sar search=debian replace="__Debian__"]]
+    \[[!sar search=debian replace="__Debian__"]]
 
 for define a global replace for the term `--debian--` or
 
-    \[[sar search=ibm first=’[IBM](http://www.ibm.com)’
+    \[[!sar search=ibm first=’[IBM](http://www.ibm.com)’
             next="_IBM_"]]
 
 to define a replace for the first match of the string `--ibm--` and a different
index 58cd31394dff242ba9d7069d18bdc81c5a373766..5ca6311f9d63c6151de5f6a17c103a827f608e2e 100644 (file)
@@ -17,7 +17,7 @@ In the case of file parameter, `syntax` will build a html link for direct downlo
 
 Example:
 
-       \[[syntax type="perl" text="""  
+       \[[!syntax type="perl" text="""  
        #!/usr/bin/perl
 
        my $a = "World";
@@ -26,7 +26,7 @@ Example:
 
 or 
 
-       \[[syntax file="/examples/hello.pl" description="My first perl program"]]
+       \[[!syntax file="/examples/hello.pl" description="My first perl program"]]
 
 This plugin create the following CSS styles:
 
index d8130d631bbfdb3644090157e823abf01995efae..c47c02e6f3036c31f9c95f5a00d6023e837e7e73 100644 (file)
@@ -4,7 +4,7 @@
 This just uses the `fortune` program to insert a fortune into the page.
 Usage:
 
-       \[[fortune ]]
+       \[[!fortune ]]
 
 [[!if test="enabled(fortune)" then="""
 Here's a fortune for you:
index 941c79be5eb0916d7fb5869c46dd06b8a727223f..bca2ae74ff2fddceba146aa615b03080b4e03458 100644 (file)
@@ -11,7 +11,7 @@ content. This plugin is an example of how to deal with this in ikiwiki.
 
 Example use:
 
-       \[[googlecalendar html="""
+       \[[!googlecalendar html="""
        <iframe src="http://www.google.com/calendar/embed?src=adkrdken8mupngh13jshlbenoc%40group.calendar.google.com&title=OSEL%20Calendar&chrome=NAVIGATION&bgcolor=%2371d873&height=588" style=" border-width:0 " width="480" frameborder="0" height="588"></iframe>
        """]]
 
index 13ea13426019a3f5fd7554abb2c4877dae09d58b..f8cf094f4533c03ca5101738d60ad8a865d52078 100644 (file)
@@ -4,7 +4,7 @@
 This plugin allows embedding [graphviz](http://www.graphviz.org/) graphs in a
 page.  Example usage:
 
-       \[[graph src="a -> b -> c; a -> c;"]]
+       \[[!graph src="a -> b -> c; a -> c;"]]
 
 Note that graphs will only show up in previews if your browser has
 [[!wikipedia data: URI]] support, or if the same graph already exists on that
index 2cc56ca5c59da06af749ae77dc3f35cb78e8c7b4..ac340e42d15986e3b86d5c7bdddb8a6f88c36274 100644 (file)
@@ -4,7 +4,7 @@
 This plugin allows inserting a randomly generated haiku into a wiki page.
 Just type:
 
-       \[[haiku hint="argument"]]
+       \[[!haiku hint="argument"]]
 
 [[!haiku hint="argument test"]]
 
index 3941ca2043c33a7538afcc6be7e66a8dd6611293..898609a29e6edb692fafdb866fb2deae93dc35b4 100644 (file)
@@ -14,7 +14,7 @@ Note that this is a stripped down version of Christian Mock's
 
 ## usage
 
-       \[[img image1.jpg size="200x200" alt="clouds"]]
+       \[[!img image1.jpg size="200x200" alt="clouds"]]
 
 The image file will be searched for using the same rules as used to find
 the file pointed to by a [[ikiwiki/WikiLink]].
@@ -35,7 +35,7 @@ to another page instead, or "link=no" to disable the link, or
 You can also set default values that will be applied to all later images on
 the page, unless overridden. Useful when including many images on a page.
 
-       \[[img defaults size=200x200 alt="wedding photo"]]
-       \[[img photo1.jpg]]
-       \[[img photo2.jpg]]
-       \[[img photo3.jpg size=200x600]]
+       \[[!img defaults size=200x200 alt="wedding photo"]]
+       \[[!img photo1.jpg]]
+       \[[!img photo2.jpg]]
+       \[[!img photo3.jpg size=200x600]]
index 0aa773f5a8edbe718f77d954430f43404651b026..e66c9103fbedfa23de9b03a029f76ca9838ca901 100644 (file)
@@ -3,7 +3,7 @@
 This is a [[ikiwiki/PreProcessorDirective]] that allows including one wiki page
 inside another. For example:
 
-       \[[inline pages="blog/*"]]
+       \[[!inline pages="blog/*"]]
 
 The most common use of inlining is generating blogs and RSS or Atom feeds.
 See [[ikiwiki/blog]] for details.
index b52d222bd7186119aad56fe73176b5bd6ff416f3..935f3d3cd4c0e11aacb39fc99e366fc1ff2b2e86 100644 (file)
@@ -4,7 +4,7 @@
 This plugin uses [graphviz](http://www.graphviz.org/) to generate a graph showing the links between a
 set of pages in the wiki. Example usage:
 
-       \[[linkmap pages="* and !blog/* and !*/Discussion"]]
+       \[[!linkmap pages="* and !blog/* and !*/Discussion"]]
 
 Only links between mapped pages will be shown; links pointing to or from
 unmapped pages will be omitted. If the pages to include are not specified,
index a0ac3232330081703f5403d2d5f7a5fd5382bd96..a17e78eb2d1965fec5bb1bc881007a7f9cede5cc 100644 (file)
@@ -4,7 +4,7 @@
 This plugin provides a way to have a "more" link on a page in a blog, that
 leads to the full version of the page. Use it like this:
 
-       \[[more linktext="click for more" text="""
+       \[[!more linktext="click for more" text="""
        This is the rest of my post. Not intended for people catching up on
        their blogs at 30,000 feet. Because I like to make things
        difficult.
index d5b4d8716548758112ced028796f8970b6124ba0..790f033ca13098df7fe5c5fa0a73ab36b1317a29 100644 (file)
@@ -1,7 +1,7 @@
 [[!template id=plugin name=pagecount author="[[Joey]]"]]
 [[!tag type/meta]]
 
-Provides a \\[[pagecount ]] [[ikiwiki/PreProcessorDirective]] that is
+Provides a \\[[!pagecount ]] [[ikiwiki/PreProcessorDirective]] that is
 replaced with the total number of pages currently in the wiki.
 
 The optional parameter "pages" can be a [[ikiwiki/PageSpec]] specifying the
index 81a069f53510bf96dda0612f52b5cbdb47851e56..ab32fb002499b998f27712bd3b94b5f1e3d9beb0 100644 (file)
@@ -7,8 +7,8 @@ links to each page.
 
 Here's how to use it to create a [[tag]] cloud:
 
-       \[[pagestats pages="tags/*"]]
+       \[[!pagestats pages="tags/*"]]
 
 And here's how to create a table of all the pages on the wiki:
 
-       \[[pagestats style="table"]]
+       \[[!pagestats style="table"]]
index d5edf2097c7574ca3bbc395e171d62d8e151a908..57d78483de81824e0c39977c1e121700346a0e5c 100644 (file)
@@ -11,4 +11,4 @@ This plugin can only use templates that are already installed in
 /usr/share/ikiwiki/templates (or wherever ikiwiki is configured to look for
 them). You can choose to use any .tmpl files in that directory. Example:
 
-       \[[pagetemplate template=my_fancy.tmpl]]
+       \[[!pagetemplate template=my_fancy.tmpl]]
index fb3eadc02a555b3c4b03be7ac4bbad7af334d0db..17b1c4efcaae9e5c103560512e55397f00d2f2ed 100644 (file)
@@ -4,7 +4,7 @@
 This plugin allows you to create online polls in the wiki. Here's an
 example use:
 
-       \[[poll 0 "red" 0 "green" 0 "blue"]]
+       \[[!poll 0 "red" 0 "green" 0 "blue"]]
 
 The numbers indicate how many users voted for that choice. When a user
 votes for a choice in the poll, the page is modified and the number
index 5edbf5a30c89e6f61309be7db58985d3b7ae91dc..09195e6948ef93480987c81f317144e1be6a8206 100644 (file)
@@ -4,7 +4,7 @@
 This plugin allows inserting text generated by polygen into a wiki page.
 For example:
 
-       \[[polygen grammar="genius"]]
+       \[[!polygen grammar="genius"]]
 
 It's also possible to specify a starting nonterminal for the grammar by
 including `symbol="text"` in the directive.
index 8ed705d596ee90650b019ce8fe5a07dc39dbe62d..73c6801a13e57d37a67f1c2f01500e85d46132f4 100644 (file)
@@ -7,11 +7,11 @@ statistics about a set of pages, such as posts to a blog.
 # examples
 
        Post interval: 
-       \[[postsparkline pages="blog/* and !*/Discussion" max=100
+       \[[!postsparkline pages="blog/* and !*/Discussion" max=100
        formula=interval style=bar barwidth=2 barspacing=1 height=13]]
        
        Posts per month this year: 
-       \[[postsparkline pages="blog/* and !*/Discussion" max=12
+       \[[!postsparkline pages="blog/* and !*/Discussion" max=12
        formula=permonth style=bar barwidth=2 barspacing=1 height=13]]
 
 # usage
index bbb3fcd25c30071b0f2de7ca9e05852a5db2e96a..4ab2cd078395f3275368a61847f3c3e63dc1d3a2 100644 (file)
@@ -8,19 +8,19 @@ pages can be joined together with [[inline]] to generate the
 Typically only the RecentChanges page will use the pages generated by this
 plugin, but you can use it elsewhere too if you like. It's used like this:
 
-       \[[inline pages="internal(recentchanges/change_*)"
+       \[[!inline pages="internal(recentchanges/change_*)"
        template=recentchanges show=0]]
 
 Here's an example of how to show only changes to "bugs/*".
 This matches against the title of the change, which includes a list of
 modified pages.
 
-       \[[inline pages="internal(recentchanges/change_*) and title(*bugs/*)"
+       \[[!inline pages="internal(recentchanges/change_*) and title(*bugs/*)"
        template=recentchanges show=0]]
 
 Here's an example of how to show only changes that Joey didn't make.
 (Joey commits sometimes as user `joey`, and sometimes via openid.)
        
-       \[[inline pages="internal(recentchanges/change_*) and
+       \[[!inline pages="internal(recentchanges/change_*) and
        !author(joey) and !author(http://joey.kitenet.net*)"
        template=recentchanges show=0]]
index 00ed4b5c5d6771a0563f73c7aec09060a4351440..19b07b81248f3464b638488bdc4b31ec08785771 100644 (file)
@@ -24,7 +24,7 @@ This plugin also uses the [[!cpan Digest::SHA1]] perl module.
 
 # examples
 
-       \[[sparkline 1 3 5 -3 10 0 width=40 height=16
+       \[[!sparkline 1 3 5 -3 10 0 width=40 height=16
        featurepoint="4,-3,red,3" featurepoint="5,10,green,3"]]
 
 This creates a simple line graph, graphing several points.
@@ -35,7 +35,7 @@ featurepoint="4,-3,red,3" featurepoint="5,10,green,3"]]
 It will be drawn 40 pixels wide and 16 pixels high. The high point in the
 line has a green marker, and the low point has a red marker.
 
-       \[[sparkline 1 -1(red) 1 -1(red) 1 1 1 -1(red) -1(red) style=bar barwidth=2
+       \[[!sparkline 1 -1(red) 1 -1(red) 1 1 1 -1(red) -1(red) style=bar barwidth=2
        barspacing=1 height=13]]
 
 This more complex example generates a bar graph. 
index 6ff6a54de8ab5ca690c0b91c79e7d663b0e5b2d7..b99bb7cd5d0a9d692ce0c0830d0f0c2caee03f06 100644 (file)
@@ -8,14 +8,14 @@ It needs the perl module [[!cpan Text::CSV]] for the CSV data.
 
 ## examples
 
-       \[[table data="""
+       \[[!table data="""
        Customer|Amount
        Fulanito|134,34
        Menganito|234,56
        Menganito|234,56
        """]]
     
-       \[[table class="book_record" format=csv file="data/books/record1"]]
+       \[[!table class="book_record" format=csv file="data/books/record1"]]
 
 In this second example the `record1` page should be similar to:
 
@@ -26,7 +26,7 @@ In this second example the `record1` page should be similar to:
 To make a cell span multiple columns, follow it with one or more empty
 cells. For example:
 
-       \[[table data="""
+       \[[!table data="""
        left||right|
        a|b|c|d
        this cell spans 4 columns|||
index b5eebf513544e3c3c477f0c7b12591185bf4f8e3..a2f0c7e5796e36b9819430d9202d1f7884282189 100644 (file)
@@ -3,7 +3,7 @@
 
 This plugin allows tagging pages. List tags as follows:
 
-       \[[tag tech life linux]]
+       \[[!tag tech life linux]]
 
 The tags work the same as if you had put a (hidden) [[ikiwiki/WikiLink]] on
 the page for each tag, so you can use a [[ikiwiki/PageSpec]] match all
@@ -14,8 +14,8 @@ in RSS and Atom feeds.
 If you want a visible [[ikiwiki/WikiLink]] along with the tag, use taglink
 instead:
 
-       \[[taglink foo]]
-       \[[taglink tagged_as_foo|foo]]
+       \[[!taglink foo]]
+       \[[!taglink tagged_as_foo|foo]]
 
 This plugin has a configuration option. Set --tagbase=tags and links to tags
 will be located under the specified base page. If ikiwiki is configured
index 7e830fc131025d8d57174b91ad489a79f8fd5b48..7e7b88bc5a13ab4b3e14eca14ebe647af5019fc7 100644 (file)
@@ -1,4 +1,4 @@
-I'd like to modify this plugin such that the tag pages are automatically created and populated with a list of relevant posts. The content of the tag page is simply `"\[[inline pages="link(tag/$tag)"]]`. The tag plugin will have to determine whether a page for the given tag already exists, and if not use that Markdown fragment to  generate it.
+I'd like to modify this plugin such that the tag pages are automatically created and populated with a list of relevant posts. The content of the tag page is simply `"\[[!inline pages="link(tag/$tag)"]]`. The tag plugin will have to determine whether a page for the given tag already exists, and if not use that Markdown fragment to  generate it.
 
 There are clearly many ways to do this, but any opinions on which is the cleanest?
 
index 36043cae82e989093c0988011928a4035fb6b20e..a173f5a96948e077d70101ff31079ae65cc762ab 100644 (file)
@@ -6,18 +6,18 @@ page, and to see the part that matches, or causes the match to fail.
 
 Example uses:
 
-       \[[testpagespec pagespec="foopage and barpage" match="foopage"]]
+       \[[!testpagespec pagespec="foopage and barpage" match="foopage"]]
 
 This will print out something like "no match: barpage does not match
 foopage", highlighting which part of the [[ikiwiki/PageSpec]] is causing
 the match to fail.
        
-       \[[testpagespec pagespec="foopage or !bar*" match="barpage"]]
+       \[[!testpagespec pagespec="foopage or !bar*" match="barpage"]]
 
 This will print out something like "no match: bar* matches barpage", since
 the part of the [[ikiwiki/PageSpec]] that fails is this negated match.
        
-       \[[testpagespec pagespec="foopage or barpage" match="barpage"]]
+       \[[!testpagespec pagespec="foopage or barpage" match="barpage"]]
 
 This will print out something like "match: barpage matches barpage",
 indicating the part of the [[ikiwiki/PageSpec]] that caused it to match.
index c866f17cc425d5bf9053be1bd3f2fb2253d46682..1908cfb79740f71e0d31392a1b13c3ae23f226e2 100644 (file)
@@ -9,14 +9,14 @@ may not be part of a regular texlive installation.
 
 ## examples
 
-       \[[teximg code="\ce{[Cu(NH3)3]^{2+}}"]]
-       \[[teximg code="\frac{1}{2}"]]
-       \[[teximg code="E = - \frac{Z^2 \cdot  \mu \cdot e^4}{32\pi^2 \epsilon_0^2 \hbar^2 n^2}" ]]
+       \[[!teximg code="\ce{[Cu(NH3)3]^{2+}}"]]
+       \[[!teximg code="\frac{1}{2}"]]
+       \[[!teximg code="E = - \frac{Z^2 \cdot  \mu \cdot e^4}{32\pi^2 \epsilon_0^2 \hbar^2 n^2}" ]]
 
 To scale the image, use height=x:
 
-       \[[teximg code="\ce{[Cu(NH3)3]^{2+}}" height="17"]]
-       \[[teximg code="\ce{[Cu(NH3)3]^{2+}}" height="8"]]
+       \[[!teximg code="\ce{[Cu(NH3)3]^{2+}}" height="17"]]
+       \[[!teximg code="\ce{[Cu(NH3)3]^{2+}}" height="8"]]
 
 If no height is choosen the default height 12 is used. Valid heights are: 8, 9,
 10, 11, 12, 14, 17, 20. If another height is entered, the closest available
@@ -24,6 +24,6 @@ height is used.
 
 To add an alt text to the image, use alt="text":
 
-       \[[teximg code="\frac{1}{2}" alt="1/2"]]
+       \[[!teximg code="\frac{1}{2}" alt="1/2"]]
 
 See [this site](http://www.der-winnie.de/opensource/gsoc2007) for rendered images.
index 38db1d6afbb3f99d833f6370b5118c29d3e48368..149ac041e63e9c577bf358aa5bb0e19046871683 100644 (file)
@@ -3,18 +3,18 @@
 
 Add a table of contents to a page:
 
-       \[[toc ]]
+       \[[!toc ]]
 
 The table of contents will be automatically generated based on the
 headers of the page. By default only the largest headers present on the
 page will be shown; to control how many levels of headers are shown, use
 the `levels` parameter:
 
-       \[[toc levels=2]]
+       \[[!toc levels=2]]
 
 The toc plugin will take the level of the first header as the topmost
 level, even if there are higher levels seen later in the file.
 
 The table of contents will be created as an ordered list. If you want
 an unordered list instead, you can change the list-style in your local
-style sheet.
\ No newline at end of file
+style sheet.
index f25719ad3d56f124eab5479e6f79cee50ad692cd..5e0b8392a50c20d621dd4292c5c311a5187a78b8 100644 (file)
@@ -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,
index 4ceb48f7ac7d5f8c419dac37302673603e450d1b..7c076362e8b64f628f07f49330499e4d9e3f3333 100644 (file)
@@ -8,4 +8,4 @@ updating the version number.
 
 Use is simple:
 
-       \[[version ]]
+       \[[!version ]]
index cc2b33a571f1c41e2ee7e188237cddf7d20a9b95..5b810a18faea4f6460635fcd7e06f58bce56ac57 100644 (file)
@@ -139,7 +139,7 @@ Ok, one more enhancement. Just incrementing the numbers is pretty boring.
 It would be nice to be able to jump directly to a given point in the
 sequence:
 
-       \[[fib seed=20]], [[!fib ]], [[!fib ]]
+       \[[!fib seed=20]], [[!fib ]], [[!fib ]]
 
 Just insert these lines of code inside `preprocess`, in the appropriate
 spot: