aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins/table.mdwn
diff options
context:
space:
mode:
authorjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-03-07 19:50:34 +0000
committerjoey <joey@0fa5a96a-9a0e-0410-b3b2-a0fd24251071>2007-03-07 19:50:34 +0000
commit6304f6a5953327a740180d525dcbfb331d8b64c8 (patch)
tree32377198e18d93a87f4fb3afcb6e11221a65f804 /doc/plugins/table.mdwn
parent59b07af4cf3bc6acabafba826f3261c201d5e1bd (diff)
downloadikiwiki-6304f6a5953327a740180d525dcbfb331d8b64c8.tar
ikiwiki-6304f6a5953327a740180d525dcbfb331d8b64c8.tar.gz
add colspan support
Diffstat (limited to 'doc/plugins/table.mdwn')
-rw-r--r--doc/plugins/table.mdwn10
1 files changed, 10 insertions, 0 deletions
diff --git a/doc/plugins/table.mdwn b/doc/plugins/table.mdwn
index e84f6f947..c245c1af2 100644
--- a/doc/plugins/table.mdwn
+++ b/doc/plugins/table.mdwn
@@ -12,6 +12,7 @@ It needs the perl module [[cpan Text::CSV]] for the CSV data.
Customer|Amount
Fulanito|134,34
Menganito|234,56
+ Menganito|234,56
"""]]
\[[table class="book_record" format=csv file="data/books/record1"]]
@@ -22,6 +23,15 @@ In this second example the `record1` page should be similar to:
"Author","Damian Conway"
"Publisher","O’Reilly"
+To make a cell span multiple columns, follow it with one or more empty
+cells. For example:
+
+ \[[table data="""
+ left||right|
+ a|b|c|d
+ this cell spans 4 columns|||
+ """]]
+
## usage
* `data` - Values for the table.