]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/plugins/table.mdwn
* table plugin: Actually specify the delimiter.
[ikiwiki.git] / doc / plugins / table.mdwn
index c245c1af2d529d0d743683b573360e5b0b185abd..89bec987c4b0ae42c2342c45b5291ebca5c817da 100644 (file)
@@ -6,6 +6,16 @@ or DSV (delimiter-separated values) format.
 
 It needs the perl module [[cpan Text::CSV]] for the CSV data.
 
+[[table data="""
+"foo",[[joey]],"bar"
+"bar",[[joeyno]], foo"
+"""]]
+
+[[table data="""
+foo|[[joey]]|bar
+bar|[[joeyno]]|foo
+"""]]
+
 ## examples
 
        \[[table data="""
@@ -41,5 +51,5 @@ cells. For example:
 * `delimiter` - The character used to separate fields. By default,
    DSV format uses a pipe (`|`), and CSV uses a comma (`,`).
 * `class` - A CSS class for the table html element.
-* `header` - Set to 0 to make a table without a header. By default,
+* `header` - Set to "no" to make a table without a header. By default,
   the first data line is used as the table header.