This MedLibrary.org supplementary page on Textile (markup language) is provided directly from the open source Wikipedia as a service to our readers. Please see the note below on authorship of this content, as well as the Wikipedia usage guidelines. To search for other content from our encyclopedia supplement, please use the form below:
Related Sponsors
Textile is a lightweight markup language originally developed by Dean Allen and billed as a "humane Web text generator". Textile converts its marked-up text input to valid, well-formed XHTML and also inserts character entity references for apostrophes, opening and closing single and double quotation marks, ellipses and em dashes.
Textile was originally implemented in PHP, but has been translated into other programming languages including Perl, Python, Ruby, ASP, Java and C#.
Textile is distributed under a BSD-style license and is included with, or available as a plugin for, several content-management systems.
Version 2.0 beta was released in 2004 as part of the Textpattern content management system.
Version 2.0 was released in 2006.
Textile syntax examples
This is not an exhaustive listing of Textile's syntax. For a list of all available options in Textile 2, see the full syntax reference.
Emphasized text:
_emphasized_ (e.g., italics) *strongly emphasized* (e.g., boldface)
Lists:
* An item in a bulleted (unordered) list * Another item in a bulleted list ** Second Level ** Second Level Items *** Third level
# An item in an enumerated (ordered) list xxxxxxx # Another item in an enumerated list yyyyyy ## Another level in an enumerated list vvvvvvvv
Tables (a | character must be at the beginning and end of every row):
|_. Header |_. Header |_. Header | | Cell 1 | Cell 2 | Cell 3 | | Cell 1 | Cell 2 | Cell 3 |
Code:
@code@
Headings: (you must leave a blank line after each heading)
h1(#id). An HTML first-level heading
h2. An HTML second-level heading
h3. An HTML third-level heading
h4. An HTML fourth-level heading
h5. An HTML fifth-level heading
h6. An HTML sixth-level heading
Blockquotes:
bq. This text will be enclosed in an HTML blockquote element.
Links:
"(classname)link text(title tooltip)":link_address
Images:
!imageurl!
See also
- List of lightweight markup languages
- Textpattern, a content-management system, also originally by Dean Allen, which uses Textile.
External links
- Textile Homepage, examples of the newest implementation in PHP
- hobix.com Textile Reference, an example-based Textile reference.
- Text::Textile, an implementation of Textile in Perl.
- MT-Textile, an implementation of Textile in Perl for Movable Type.
- PyTextile, an implementation of Textile in Python.
- RedCloth, an implementation of Textile in Ruby.
- vbsTextile, an implementation of Textile for Microsoft Active Server Pages
- Textile UDF, an implementation of Textile in ColdFusion.
- Plextile, an implementation of Textile in Java
- JTextile, an implementation of Textile in Java
- Textile4j, an implementation of Textile in Java
- Textile-j, an implementation of Textile in Java that includes components for SWT and JFace and an Eclipse editor plugin
- TextilePHP, PHP version of Brad Choate's Textile Perl module, adding several features present in the Perl version but not in the standard PHP version of Textile.
- Xilize, a superset of Textile for generating webpages, documents, and websites with any plain-text editor (plugin for jEdit available). Opensource.
- Textile.NET, an implementation of Textile in C#/.NET
- octalforty Brushie Text, one more implementation of Textile in C#/.NET
- Texticl, an implementation of Textile in Common Lisp
- Textile Markup with MediaWiki, a way to use Textile on MediaWiki sites like Wikipedia
Wikipedia content modification information:
- This page was last modified on 12 November 2008, at 15:46.
Wikipedia Authorship and Review
Wikipedia content provided here is not reviewed directly by MedLibrary.org. Wikipedia content is authored by an open community of volunteers and is not produced by or in any way affiliated with MedLibrary.org.
Wikipedia Usage Guidelines
This article is licensed under the GNU Free Documentation License. It uses material from the Wikipedia article on "Textile (markup language)".
The URL for this specific entry is:
All Wikipedia text is available under the terms of the GNU Free Documentation License. (See Copyrights for details). Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc.
