Redmine: Create Tables Using Textile Formatting

Creating tables with the textile formatting used by Redmine is fairly easy though it is not listed in the help documentation link. It has been useful to me to create tables specifically in the wiki informational pages. Typically within the Redmine wiki I like to keep things simple so below I will only describe a couple attributes related to tables within textile formatting.

Table Example: three rows, three columns
[BASH]
|one-one|one-two|one-three|
|two-one|two-two|two-three|
|three-one|three-two|three-three|
[/BASH]

Table Example: three rows, three columns with the top row as a header column
[BASH]
|_. one-one|_. one-two|_. one-three|
|two-one|two-two|two-three|
|three-one|three-two|three-three|
[/BASH]

Table Example: three rows, three columns with top rows cells content centered, the second rows cells align left, and the third rows cells align right
[BASH]
|=. one-one|=. one-two|=. one-three|
|<. two-one|<. two-two|<. two-three|
|>. three-one|>. three-two|>. three-three|
[/BASH]

Table Example: four rows, four columns with the top row spanning all four columns and the second row/first column spanning three rows.
[BASH]
|\4. one-one,two,three,four|
|/3. two,three,four-one|two-two|two-three|two-four|
|three-two|three-three|three-four|
|four-two|four-three|four-four|
[/BASH]

There are some other attributes that can be specified as well including adding colors to rows. The information above was obtained from this site which also includes other textile table formatting examples. It can take a little while to become comfortable with writing pages in textile format but once you are used to textile it will become very easy to format pages for your Redmine wiki pages.

Professional Wikis (Paperback)

By (author): Mark S. Choate


List Price: $39.99 USD
New From: $11.17 USD In Stock
Used from: $0.01 USD In Stock

Share