diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-07-21 11:33:43 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-07-21 11:34:49 -0400 |
commit | d5e65e582a34ae2494fee493ddcb2b959e4a4bce (patch) | |
tree | 14bf1f7a604406ecb98523eda42c2e864321e1d0 /doc/plugins/graphviz.mdwn | |
parent | d13200f92b74aa3d4e315809c78f1c2ec6c925a7 (diff) | |
parent | e3a84952715cdd625258e1695cb74898006c31f3 (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/graphviz.mdwn')
-rw-r--r-- | doc/plugins/graphviz.mdwn | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/plugins/graphviz.mdwn b/doc/plugins/graphviz.mdwn index fb669ae21..f8cf094f4 100644 --- a/doc/plugins/graphviz.mdwn +++ b/doc/plugins/graphviz.mdwn @@ -1,13 +1,13 @@ -[[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: - \[[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 +[[!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. |