Code:
[table="head"]fruit|vegetable|tree
banana|broccoli|oak
pear|carrot|birch
apple|cucumber|holly
orange|potato|cedar
lemon|onion|pine
mango|pea|fir
[/table]
yields:
fruit | vegetable | tree |
---|
banana | broccoli | oak |
pear | carrot | birch |
apple | cucumber | holly |
orange | potato | cedar |
lemon | onion | pine |
mango | pea | fir |
Use the vertical pipe
| to delineate a column and a new line for a new row. The first row must also be on the same line as the
[table] tag. Removing the
="head" part will make the first row a regular row instead of a heading.