Textile | |
---|---|
Filename extensions | .textile |
Developed by | Dean Allen |
Initial release | December 26, 2002; 22 years ago (2002-12-26)[1] |
Latest release | |
Type of format | Markup language |
Open format? | yes |
Website | textile-lang |
Textile is alightweight markup language that uses a text formatting syntax to convert plain text into structured HTML markup. Textile is used for writing articles, forum posts, readme documentation, and any other type of written content published online.
Textile was developed byDean Allen in 2002, which he billed as "a humane web text generator" that enabled you to "simply write".[1] Dean created Textile for use inTextpattern, theCMS he also developed about the same time.
Textile is one of several lightweight markup languages to have influenced the development ofMarkdown.[3]
Text marked-up with Textile converts into validHTML when rendered in a web browser, and though it probably varies from one implementation type to another, an installation of Textile can be set for a Doctype Declaration of XHTML orHTML5, with XHTML being the default for backward compatibility.
In the PHP implementation, for example, when using Textile's all-caps abbreviation syntax –AGE(A Given Example)
– the result will render as anabbr
element in HTML5 and as anacronym
element in XHTML.[4] Likewise, as of PHP version 3.5, if you use alignment markers in Textile's image syntax, HTML5 will get extra classes on the renderedimg
element, while XHTML remains with thealign
attribute.[5]
Various resources are available for learning and using Textile:
In addition to its suite of syntax usage, Textile automatically insertscharacter entity references forapostrophes, opening and closing single and doublequotation marks,ellipses andem dashes, to name a few.
Textile is distributed under aBSD-style license and is included with, or available as a plugin for, severalcontent-management systems.
Various projects use (or have used) Textile: