Tables with Textile

Blogged into & on 06/09/2005 | comment

I recently developed a great way to markup your tabular data with HTML tables using Textile.

Yeah you heard me – Tables. Creating a beautiful HTML table for your tabular data using textile is super easy. All you need is MS Excel or some other sort of spreadsheet tool.

Step one – open up your spreadsheet and insert a blank column in between each column of data. Then ad a ” | ” symbol in the first cell of each column. Now drag that symbol down to the bottom of the column so that it fills up each cell.

Step two – copy all cells in your table and head over to Textpattern.

Step three – write a new article or find the one you want your table in. Paste the copied cells.

It may look a little funny, though it should look something like this now:

  1. |This|is|a|simple|table|
  2. |This|is|a|simple|row|

Hit the HTML preview tab and you should see:

 <table>
 <tr>
 <td>This</td>
 <td>is</td>
 <td>a</td>
 <td>simple</td>
 <td>table</td>
 </tr>
...etc

And you’re done. Publish your Tables with Textile. Easy as 1, 2, 3.

Taking Tables to the next level

The buck stops here with Textile since it does not support all of the uber-cool semantic stuff you can do with HTML tables. In any case, this one’s worth a read over at 456 Berea Street.

If you are using Internet Explorer for the MAC, you'll notice this website looks a little strange. That's because we've chosen not to provide full CSS support for that browser. All content is still accessible, it's just not as pretty - but neither is your browser. For the full meal deal, we recommend upgrading your web browser.