I'm trying to create a table in DokuWiki, with a cell that vertically spans, however unlike the examples in the syntax guide, the cell I want to create has more than one row of text.

The following is an ASCII version of what I'm trying to achieve

+-----------+-----------+
| Heading 1 | Heading 2 |
+-----------+-----------+
|           | Multiple  |
| Some text | rows of   |
|           | text      |
+-----------+-----------+

I've tried the following syntax

^ Heading 1 ^ Heading 2 ^
| Some text | Multiple  |
| :::       | rows of   |
| :::       | text      |

but this generates the output

+-----------+-----------+
| Heading 1 | Heading 2 |
+-----------+-----------+
|           | Multiple  |
|           +-----------+
| Some text | rows of   |
|           +-----------+
|           | text      |
+-----------+-----------+

I can't find anything in the DokuWiki documentation, so I'm hoping I'm missing something fundamentally simple?

link|improve this question

p.s. adjusting the spelling of "DokuWiki" in the title may help others to find this question/answer in future searches. – Miles Erickson May 18 '10 at 16:04
Well spotted. Thanks, I'll correct it now. – Bryan May 18 '10 at 20:22
feedback

1 Answer

up vote 2 down vote accepted
^ Heading 1 ^ Heading 2 ^
| Some text | Multiple\\ rows of\\ text |

All you need is line breaks within a table cell. Enjoy!

link|improve this answer
Brilliant. Thanks. – Bryan Apr 3 '10 at 7:14
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.