Textile (markup language)
{{Short description|Lightweight markup language}}
{{Infobox file format
| name = Textile
| icon =
| iconcaption =
| screenshot =
| caption =
| extensions = .textile
| mime =
| type code =
| uniform type =
| conforms to =
| magic =
| owner = Dean Allen
| released = {{Start date and age|2002|12|26}}{{cite web|url=http://textism.com/tools/textile/|archiveurl=https://web.archive.org/web/20021226035527/http://textism.com/tools/textile/|title=Textism › Tools › Textile|archivedate=26 December 2002|work=textism.com}}
| latest release version = 4.1.0 (PHP)
| latest release date = {{Start date and age|2024|01|02}}{{cite web|url=https://github.com/textile/php-textile/releases/tag/v4.1.0|title=Release notes for current version – textile/php-textile · GitHub|work=GitHub}}
| genre = Markup language
| container for =
| contained by =
| extended from =
| extended to =
| standard =
| open = yes
| url = {{URL|https://textile-lang.com}}
}}
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". 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.{{cite web|url=http://daringfireball.net/projects/markdown/syntax|title=Daring Fireball: Markdown Syntax Documentation|work=daringfireball.net}}
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.{{cite web|url=http://txstyle.org/doc/32/acronyms|archive-url=https://web.archive.org/web/20210814112240/http://www.txstyle.org/doc/32/acronyms/|archive-date=2021-08-14|title=Textile · Acronyms and abbreviations|work=txstyle.org}} 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.{{cite web|url=https://github.com/textile/php-textile/blob/master/README.textile|title=php-textile/README.textile at master · textile/php-textile · GitHub|work=GitHub}}
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.{{cite web|url=http://txstyle.org|title=Textile Syntax Documentation and Sandbox|work=txstyle.org}}
- Textile Reference Site for RedCloth – a help site for the Ruby implementation of Textile.{{cite web|url=http://redcloth.org/textile/|title=Textile (Markup Language) Reference Manual for RedCloth – RedCloth: Textile for Ruby|author=Jason Garber|work=redcloth.org}}
- Textile Syntax: Eclipse – a reference site for the Java implementation of Textile that's now merged with Mylin WikiText.{{cite web|url=http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.mylyn.wikitext.help.ui%2Fhelp%2FTextile-Syntax.html|title=Help – Eclipse Platform|work=eclipse.org}}
- Textile 2 Syntax – MovableType's Textile authoring documentation.{{cite web|url=https://movabletype.org/documentation/author/textile-2-syntax.html|title=MovableType.org – Documentation: Textile 2 Syntax|work=movabletype.org}}
- Textile Cheatsheet – a basic quick-reference sheet from Warped Visions.{{cite web|url=http://warpedvisions.org/projects/textile-cheat-sheet/|archive-url=https://web.archive.org/web/20220117015012/http://warpedvisions.org/projects/textile-cheat-sheet/|archive-date=2022-01-17|title=Textile cheat sheet|work=warpedvisions.org}}
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{{cite web|url=https://support.desk.com/customer/portal/articles/295943-using-textile-to-create-rich-text-markup-in-agent-responses|archive-url=https://web.archive.org/web/20160911061615/https://support.desk.com/customer/portal/articles/295943-using-textile-to-create-rich-text-markup-in-agent-responses|archive-date=2016-09-11|title=Desk.com – Use Textile to Create Rich Text Markup i...|work=Desk.com}}
- SUSE Studio
- Textile Note – a text application for iOS, Android, and Windows that supports Textile{{cite web|url=http://appcrawlr.com/ipad/textilenote |title=AppCrawlr: the app discovery engine.|work=appcrawlr.com}}
- Textile Wiki{{cite web|url=http://www.textilewiki.com |title=Textile Wiki|work=textilewiki.com}}
- WriteMonkey – a distraction-free desktop text editor for Windows; supports various markup languages, including Textile{{cite web|url=http://writemonkey.com/index.php|title=WriteMonkey – Home|work=writemonkey.com}}
- WiGit – a Git-based Wiki{{cite web|url=https://el-tramo.be/wigit/|title=WiGit: A Git-based Wiki (homepage)}}{{cite web|url=https://github.com/remko/wigit/|title=WiGit on GitHub|website=GitHub }}
See also
References
{{reflist|30em}}
External links
- [https://textile-lang.com Official website]