]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/plugins/graphviz.mdwn
Migrate doc/plugins via prefix_directives
[ikiwiki.git] / doc / plugins / graphviz.mdwn
index fb669ae219ceed219c5db318b9ce0efc0b24fc23..13ea13426019a3f5fd7554abb2c4877dae09d58b 100644 (file)
@@ -1,5 +1,5 @@
-[[template id=plugin name=graphviz author="[[JoshTriplett]]"]]
-[[tag type/chrome type/format]]
+[[!template id=plugin name=graphviz author="[[JoshTriplett]]"]]
+[[!tag type/chrome type/format]]
 
 This plugin allows embedding [graphviz](http://www.graphviz.org/) graphs in a
 page.  Example usage:
@@ -7,7 +7,7 @@ page.  Example usage:
        \[[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
+[[!wikipedia data: URI]] support, or if the same graph already exists on that
 page.
 
 Security implications: graphviz does not seem to have any syntax exploitable to
@@ -31,11 +31,11 @@ The `graph` directive supports the following parameters:
   in inches. You must specify both to limit the size; otherwise, graphviz will
   choose a size, without any limit.
 
-[[if test="enabled(graphviz)" then="""
+[[!if test="enabled(graphviz)" then="""
 Some example graphs:
 
-[[graph src="a -> b -> c; a -> b;"]]
-[[graph src="a -- b -- c -- a;" prog="circo" type="graph"]]
+[[!graph src="a -> b -> c; a -> b;"]]
+[[!graph src="a -- b -- c -- a;" prog="circo" type="graph"]]
 """]]
 
-This plugin uses the [[cpan Digest::SHA1]] perl module.
+This plugin uses the [[!cpan Digest::SHA1]] perl module.