Textile (markup language) explained

Textile
Extensions:.textile
Owner:Dean Allen
Released:[1]
Latest Release Version:4.1.0 (PHP)
Latest Release Date:[2]
Genre:Markup language
Open:yes

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]

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.[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 rendered img element, while XHTML remains with the align attribute.[5]

Syntax usage

Various resources are available for learning and using Textile:

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:

See also

External links

Notes and References

  1. Web site: Textism › Tools › Textile. https://web.archive.org/web/20021226035527/http://textism.com/tools/textile/. 26 December 2002. textism.com.
  2. Web site: Release notes for current version – textile/php-textile · GitHub. GitHub.
  3. Web site: Daring Fireball: Markdown Syntax Documentation. daringfireball.net.
  4. Web site: Textile · Acronyms and abbreviations. https://web.archive.org/web/20210814112240/http://www.txstyle.org/doc/32/acronyms/. 2021-08-14. txstyle.org.
  5. Web site: php-textile/README.textile at master · textile/php-textile · GitHub. GitHub.
  6. Web site: Textile Syntax Documentation and Sandbox. txstyle.org.
  7. Web site: Textile (Markup Language) Reference Manual for RedCloth – RedCloth: Textile for Ruby. Jason Garber. redcloth.org.
  8. Web site: Help – Eclipse Platform. eclipse.org.
  9. Web site: MovableType.org – Documentation: Textile 2 Syntax. movabletype.org.
  10. Web site: Textile cheat sheet. https://web.archive.org/web/20220117015012/http://warpedvisions.org/projects/textile-cheat-sheet/. 2022-01-17. warpedvisions.org.
  11. Web site: Desk.com – Use Textile to Create Rich Text Markup i.... https://web.archive.org/web/20160911061615/https://support.desk.com/customer/portal/articles/295943-using-textile-to-create-rich-text-markup-in-agent-responses. 2016-09-11. Desk.com.
  12. Web site: AppCrawlr: the app discovery engine.. appcrawlr.com.
  13. Web site: Textile Wiki. textilewiki.com.
  14. Web site: WriteMonkey – Home. writemonkey.com.
  15. Web site: WiGit: A Git-based Wiki (homepage).
  16. Web site: WiGit on GitHub. .