Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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?

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

2 Answers 2

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

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

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

I know it's a long time after question was answered, but just to give more options to community:

You can also use plug-ins like EditTable for visual editing of tables (like in Microsoft Excel): https://www.dokuwiki.org/plugin:edittable

And the other options are listed here: https://www.dokuwiki.org/tips:table_editing

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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