aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins/sparkline.mdwn
diff options
context:
space:
mode:
authorSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>2008-07-21 12:46:35 +0100
committerSimon McVittie <smcv@ http://smcv.pseudorandom.co.uk/>2008-07-21 12:46:35 +0100
commit953a959be72c021121d8d3c4a737f48bf52149fe (patch)
treec949e0224a557e48b3db0b91ab81623961ba7a20 /doc/plugins/sparkline.mdwn
parent1ca63edde0a1f09e58c9c1da1cf9ac7a6805750b (diff)
downloadikiwiki-953a959be72c021121d8d3c4a737f48bf52149fe.tar
ikiwiki-953a959be72c021121d8d3c4a737f48bf52149fe.tar.gz
Migrate escaped directives (\[[) in doc/plugins to have \[[! prefix
Diffstat (limited to 'doc/plugins/sparkline.mdwn')
-rw-r--r--doc/plugins/sparkline.mdwn4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/plugins/sparkline.mdwn b/doc/plugins/sparkline.mdwn
index 00ed4b5c5..19b07b812 100644
--- a/doc/plugins/sparkline.mdwn
+++ b/doc/plugins/sparkline.mdwn
@@ -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.