aboutsummaryrefslogtreecommitdiff
path: root/doc/plugins/table/discussion.mdwn
blob: 675f7f7df86a54ad51d403029a16dc01ed56dcfe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Well, that's an one workaround for (some versions of) markdown's
lack of tables..

Interesting that you chose to use CSV format. Seems there are advantages
(standardisation) and disadvantages (limited to simple tables).

--[[Joey]]

# Patch for new header options

I have written a small patch for this plugin to enable the first column as a header instead of just the first row or no header.

In my version, there is three options for the header field :

+ **no**: no header;
+ **col**: the first column as header;
+ **row**: the first row as header (for compatibility reason, **yes** is an alternate value for this option). 

Here is the links to the patch and to a patched version of the plugin :

+ [table.pm.patch](http://alexandre.dupas.free.fr/code/ikiwiki/table.pm.patch)
+ [table.pm](http://alexandre.dupas.free.fr/code/ikiwiki/table.pm)

I hope this might be intresting for some ikiwiki user's.

--[[AlexandreDupas]]

> Thanks for the patch, I've merged it in.
> (Just FYI, in future, I recommend using a unified diff. Also, not
> renaming variables that don't really need to be renamed makes your patch
> easier to apply.) --[[Joey]]