Textile (markup language)
Filename extensions |
.textile |
---|---|
Developed by | Dean Allen |
Initial release | December 26, 2002[1] |
Latest release |
3.5.5 (PHP) (December 20, 2013[2]) |
Type of format | Markup language |
Open format? | yes |
Website |
github |
Textile is a lightweight 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.
History
Textile was developed by Dean Allen in 2002, which he billed as "a humane web text generator" that enabled you to "simply write".[1] Dean created Textile for use in Textpattern, the CMS he also developed about the same time.
Textile is one of several lightweight markup languages to have influenced the development of Markdown.[3]
The first documented (but so far unofficial) wordmark and logo mark was created for Textile in 2015, the repository for which has since become part of the Textile organization on GitHub.[4] The mark has since started being used as a file icon in text editors, including Atom, which supports the .textile file type.
Programming language implementations
Textile was originally written in PHP (maintained as PHP-Textile[5]), and has since been translated into Perl,[6] Python (Python-Textile),[7] Ruby,[8] JavaScript (Textile-JS),[9] and C#.[10] A Java implementation used to exist called "Textile-J", but it was merged into the Mylin WikiText project.[11]
Standardization
There is no standard nor a working specification at this time. However, there is a Textile "organization" on GitHub that invites contributions toward the creation of a common specification across Textile implementations.[12]
Doctype support
Text marked-up with Textile converts into valid HTML 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 or HTML5, 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 an abbr
element in HTML5 and as an acronym
element in XHTML.[13] Likewise, as of PHP version 3.5, if you use alignment markers in Textile's image syntax, HTML5 will get extra classes on the rendered img
element, while XHTML remains with the align
attribute.[14]
Syntax usage
Various resources are available for learning and using Textile:
- TxStyle — a help site for the PHP implementation of Textile, and provides a converter. This site is currently used by the Textpattern CMS project.[15]
- Textile Reference Site for RedCloth – a help site for the Ruby implementation of Textile.[16]
- Textile Syntax: Eclipse — a reference site for the Java implementation of Textile that's now merged with Mylin WikiText.[17]
- Textile 2 Syntax – MovableType's Textile authoring documentation.[18]
- Textile Cheatsheet – a basic quick-reference sheet from Warped Visions.[19]
In addition to its suite of syntax usage, Textile automatically inserts character entity references for apostrophes, opening and closing single and double quotation marks, ellipses and em dashes, to name a few.
Licensing
Textile is distributed under a BSD-style license and is included with, or available as a plugin for, several content-management systems.
Software and services
Various projects use (or have used) Textile:
- Basecamp Classic – the original Basecamp project management software from 37signals used Textile
- Assembla
- Atlassian (JIRA)
- Guild Wars 2 official forums
- Jekyll (software)
- Know Your Meme
- OpenProject
- Qt official forums
- Redmine
- Salesforce.com – uses Textile in its Desk.com product[20]
- SUSE Studio
- Textile Note – a text application for iOS, Android, and Windows that supports Textile[21]
- Textile Wiki[22]
- WriteMonkey – a distraction-free desktop text editor for Windows; supports various markup languages, including Textile[23]
- WiGit – a Git-based Wiki[24][25]
See also
- Comparison of document markup languages
- Comparison of notetaking software
- Comparison of documentation generators
References
- 1 2 "Textism › Tools › Textile". textism.com. Archived from the original on 26 December 2002.
- ↑ "History for README.textile – textile/php-textile · GitHub". GitHub.
- ↑ "Daring Fireball: Markdown Syntax Documentation". daringfireball.net.
- ↑ "Textile Mark". GitHub.
- ↑ "textile/php-textile". GitHub.
- ↑ "bradchoate/text-textile". GitHub.
- ↑ "textile/python-textile". GitHub.
- ↑ Jason Garber. "RedCloth – Textile markup language for Ruby". redcloth.org.
- ↑ "borgar/textile-js". GitHub.
- ↑ "Textile.NET". CodePlex.
- ↑ "Mylyn/WikiText". eclipse.org.
- ↑ "Textile". GitHub.
- ↑ "Textile · Acronyms and abbreviations". txstyle.org.
- ↑ "php-textile/README.textile at master · textile/php-textile · GitHub". GitHub.
- ↑ "Textile Syntax Documentation and Sandbox". txstyle.org.
- ↑ Jason Garber. "Textile (Markup Language) Reference Manual for RedCloth – RedCloth: Textile for Ruby". redcloth.org.
- ↑ "Help – Eclipse Platform". eclipse.org.
- ↑ "MovableType.org – Documentation: Textile 2 Syntax". movabletype.org.
- ↑ "Textile cheat sheet". warpedvisions.org.
- ↑ "Desk.com – Use Textile to Create Rich Text Markup i...". Desk.com.
- ↑ "AppCrawlr: the app discovery engine.". appcrawlr.com.
- ↑ "Textile Wiki". textilewiki.com.
- ↑ "WriteMonkey – Home". writemonkey.com.
- ↑ "WiGit: A Git-based Wiki (homepage)".
- ↑ "WiGit on GitHub".