Technology Insights

Outline Every Cell In Every Row Of A Table Using Textile Formatting

Textile formatting is used in numerous wiki applications and other places where easy formatting is needed for text input fields without using a WYSIWYG interface. Currently I am using textile a bunch because I spend at least some time every day adding tickets, updating tickets, and adding/modifying wiki pages in Redmine. In Redmine you have the option of using Textile formatting or no formatting by default. If anyone is on the fence regarding Textile formatting I suggest you give it a chance as it grows on you after a short amount of time.

There are a couple different ways to outline each cell within a table created using textile. Below I will explain two options available to put a border around each cell. First lets explain how to create a basic table of cell provider email addresses using Textile.

Technology Insights

Redmine: Textile Style Formatting Not Working, Textile Inline Styles Not Working

The Redmine developers turned off Textile inline styles because of a security risk with XSS attacks. I explain below how to turn the inline styles back on if your Redmine server is protected from unauthorized access. I would suggest keeping textile styles off if your Redmine server has public access. The main point of this article is to point out that the styling such as background colors, css, table borders, cell borders, etc. is turned off by default.

If you do decide to turn inline styles back on using the information below then here is a note from the Textile Reference Manual (link):