Textile is a
lightweight markup language
A lightweight markup language (LML), also termed a simple or humane markup language, is a markup language with simple, unobtrusive syntax. It is designed to be easy to write using any generic text editor and easy to read in its raw form. Lightwei ...
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
Markdown is a lightweight markup language for creating formatted text using a plain-text editor. John Gruber and Aaron Swartz created Markdown in 2004 as a markup language that is appealing to human readers in its source code form. Markdown i ...
.
Doctype support
Text marked-up with Textile converts into valid
HTML
The HyperText Markup Language or HTML is the standard markup language for documents designed to be displayed in a web browser. It can be assisted by technologies such as Cascading Style Sheets (CSS) and scripting languages such as JavaScri ...
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
HTML5 is a markup language used for structuring and presenting content on the World Wide Web. It is the fifth and final major HTML version that is a World Wide Web Consortium (W3C) recommendation. The current specification is known as the HT ...
, 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. 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.
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.
* Textile Reference Site for RedCloth – a help site for the Ruby implementation of Textile.
* Textile Syntax: Eclipse – a reference site for the Java implementation of Textile that's now merged with Mylin WikiText.
* Textile 2 Syntax – MovableType's Textile authoring documentation.
* Textile Cheatsheet – a basic quick-reference sheet from Warped Visions.
In addition to its suite of syntax usage, Textile automatically inserts
character entity references for
apostrophes, opening and closing single and double
quotation mark
Quotation marks (also known as quotes, quote marks, speech marks, inverted commas, or talking marks) are punctuation marks used in pairs in various writing systems to set off direct speech, a quotation, or a phrase. The pair consists of an ...
s,
ellipses and
em dashes
The dash is a punctuation mark consisting of a long horizontal line. It is similar in appearance to the hyphen but is longer and sometimes higher from the baseline. The most common versions are the endash , generally longer than the hyphen b ...
, 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
37signals (formerly Basecamp before reverting to its original name) is an American web software company based in Chicago, Illinois. The firm was cofounded in 1999 by Jason Fried, Carlos Segura, and Ernest Kim as a web design company.
Since mid ...
used Textile
*
Assembla
*
Atlassian
Atlassian Corporation () is an Australian software company that develops products for software developers, project managers and other software development teams. The company is domiciled in Delaware, with global headquarters in Sydney, Austr ...
(
JIRA)
*
Guild Wars 2
''Guild Wars 2'' is a free-to-play, massively multiplayer online role-playing game developed by ArenaNet and published by NCSoft. Set in the fantasy world of Tyria, the core game follows the re-emergence of Destiny's Edge, a disbanded guild ...
official forums
*
Jekyll (software)
Jekyll is a static site generator written in Ruby by Tom Preston-Werner. It is distributed under the open source MIT license.
History
Jekyll was first released by Tom Preston-Werner in 2008. Jekyll was later taken over by Parker Moore, an employe ...
*
Know Your Meme
''Know Your Meme'' (''KYM'') is a website and video series which uses wiki software to document various Internet memes and other online phenomena, such as viral videos, image macros, catchphrases, Internet celebrities and more. It also invest ...
*
OpenProject
*
Qt official forums
*
Redmine
Redmine is a free and open source, web-based project management and issue tracking tool. It allows users to manage multiple projects and associated subprojects. It features per project wikis and forums, time tracking, and flexible, role-based acc ...
*
Salesforce.com
Salesforce, Inc. is an American cloud-based software company headquartered in San Francisco, California. It provides customer relationship management (CRM) software and applications focused on sales, customer service, marketing automation, a ...
– uses Textile in its Desk.com product
*
SUSE Studio
* Textile Note – a text application for
iOS,
Android
Android may refer to:
Science and technology
* Android (robot), a humanoid robot or synthetic organism designed to imitate a human
* Android (operating system), Google's mobile operating system
** Bugdroid, a Google mascot sometimes referred to ...
, and Windows that supports Textile
* Textile Wiki
* WriteMonkey – a distraction-free desktop text editor for Windows; supports various markup languages, including Textile
* WiGit – a
Git-based Wiki
See also
*
Comparison of document markup languages The following tables compare general and technical information for a number of document markup languages. Please see the individual markup languages' articles for further information.
General information
Basic general information about the marku ...
*
Comparison of notetaking software
*
Comparison of documentation generators
The following tables compare general and technical information for a number of documentation generators. Please see the individual products' articles for further information. Unless otherwise specified in footnotes, comparisons are based on the ...
References
{{reflist, 30em
External links
Official website
Lightweight markup languages