]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/todo/progressbar_plugin.mdwn
* Edition
[ikiwiki.git] / doc / todo / progressbar_plugin.mdwn
index 42c9c6bea9a5fcac6fd57f6f42a841a89deb8dd4..d586ce79ceebe79c9e77df8a46238489d1997fc6 100644 (file)
@@ -1,5 +1,5 @@
-I would like to add next plugin to Ikiwiki. It's `progressbar`
-(or simply `progress`, I'm not sure what plugin name better is). I know that
+I would like to add next plugin to Ikiwiki. It's `progressbar` or simply `progress`.
+I'm not sure what plugin name better is, probably that shorter ;) I know that
 [DokuWiki](http://wiki.splitbrain.org/plugin:progressbar) has similar plugin,
 so I think it can be useful also for Ikiwiki users.
 
@@ -7,13 +7,16 @@ Here is proposition of the plugin syntax:
 
     \[[!progress done=50]]
 
+Of course, `done` argument is integer from 0 to 100. 
+
 A here is its HTML result:
 
     <div class="progress">
       <div class="progress-done" style="width: 50%">50%</div>
     </div>
 
-Of course, `done` argument is integer from 0 to 100. 
+Note: I was trying with `<span>` tags too, but that tag is inline, so I can't
+set `width` property for it.
 
 Default CSS styles for the plugin can be like below: