The Textile Markup Reference for Textpattern
Textile is a markup language (like Markdown) for formatting text in a weblog or a content management system (CMS). It has more options than Markdown, but is also somewhat more difficult to read. Therefore, Textile is less widely used, but it is the preferred markup language when advanced formatting, such as complex tables, footnotes, etc. are required. Textile has been around for more than 10 years, and implementations exist for all major CMS, also Textile is supported by Github.
Basic formatting includes bold or italic text, which is written as:
*bold* or _italic_ text
in Textile. If you wanted to create headlines of different levels, you would write:
h1. A very large headline
h2. A not so large headline
h3. A small headline
What you get is this:
Bulleted lists are also easy:
* Red
* Green
* Blue
And this will be displayed in your browser:
Links are written in this style:
"Wikipedia":http://en.wikipedia.org/
resulting in: Wikipedia
In order to create a table, you would write:
|_. First Header |_. Second Header |
|Content Cell |Content Cell |
|Content Cell |Content Cell |
As can be seen, Textile is somewhat similar to Markdown, therefore it is easy to learn, but more powerful. In fact, Textile’s formatting capabilities cover much what can be done with HTML and CSS otherwise.
Block modifiers
Paragraphs
Headings
Block code
Pre-formatted text
Textile comments
HTML
Block quotations
No Textile formatting
Lists and notes
Bulleted list
Numbered lists
Definition lists
Footnotes
Auto-numbered notes
Links and images
Tables
Phrase modifiers
Strong and bold text
Emphasized and italic text
Superscript and subscript
Insertions and deletions
Citation
Inline code
Attributes
Alignment
Indentation
Span
CSS styles
CSS classes and CSS ID's
Language
Typography
Character conversions
Unicode symbols
Acronyms and abbreviations
Uppercase words
Further Information
PHP Textile versions
Textile related linklists
Tools
Blank input form
Table Data Converter
Report Issues
Issues on PHP Textile (GitHub)