Textile (markup language)

Textile (markup language)

Textile is a lightweight markup language originally developed by [http://textism.com 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 [http://textile.thresholdstate.com/ 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


!imageurl!

ee also

* List of lightweight markup languages
* Textpattern, a content-management system, also originally by Dean Allen, which uses Textile.

External links

* [http://textile.thresholdstate.com/ Textile Homepage] , examples of the newest implementation in PHP
* [http://hobix.com/textile/ hobix.com Textile Reference] , an example-based Textile reference.
* [http://search.cpan.org/~bchoate/Text-Textile/lib/Text/Textile.pm Text::Textile] , an implementation of Textile in Perl.
* [http://www.bradchoate.com/mt-plugins/textile MT-Textile] , an implementation of Textile in Perl for Movable Type.
* [http://cheeseshop.python.org/pypi/textile PyTextile] , an implementation of Textile in Python.
* [http://redcloth.org/ RedCloth] , an implementation of Textile in Ruby.
* [http://www.agresticism.org/kitchen/ports/textile/download/ vbsTextile] , an implementation of Textile for Microsoft Active Server Pages
* [http://textile.riaforge.org/ Textile UDF] , an implementation of Textile in ColdFusion.
* [http://www.plink-search.com/blog.html?fetch=news&get=PLink_Textile Plextile] , an implementation of Textile in Java
* [http://philwilson.org/projects/jtextile/ JTextile] , an implementation of Textile in Java
* [http://sourceforge.net/projects/textile4j Textile4j] , an implementation of Textile in Java
* [https://textile-j.dev.java.net/ Textile-j] , an implementation of Textile in Java that includes components for SWT and JFace and an Eclipse editor plugin
* [http://jimandlissa.com/project/textilephp 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.
* [http://xilize.sourceforge.net/ Xilize] , a superset of Textile for generating webpages, documents, and websites with any plain-text editor (plugin for jEdit available). Opensource.
* [http://www.codeplex.com/textilenet Textile.NET] , an implementation of Textile in C#/.NET
* [http://code.google.com/p/octalforty-brushie/ octalforty Brushie Text] , one more implementation of Textile in C#/.NET
* [http://www.cliki.net/Texticl Texticl] , an implementation of Textile in Common Lisp
* [http://nigelball.org/2007/09/04/textile-markup-with-mediawiki-revisited Textile Markup with MediaWiki] , a way to use Textile on MediaWiki sites like Wikipedia


Wikimedia Foundation. 2010.

Игры ⚽ Поможем решить контрольную работу

Look at other dictionaries:

  • Lightweight markup language — A lightweight markup language is a markup language with a simple syntax, designed to be easy for a human to enter with a simple text editor, and easy to read in its raw form. Lightweight markup languages are used in applications where people… …   Wikipedia

  • Textile (disambiguation) — Textile may refer to one of the following. *Textile, any type of material made from fibers or other extended linear materials such as thread or yarn. *Textile industry, also known as the rag trade * Textile (markup language). * A slang term used… …   Wikipedia

  • language — /lang gwij/, n. 1. a body of words and the systems for their use common to a people who are of the same community or nation, the same geographical area, or the same cultural tradition: the two languages of Belgium; a Bantu language; the French… …   Universalium

  • Why the lucky stiff — Infobox Person name = Unknown (alias why the lucky stiff ) other names = why, why caption = why at RubyConf occupation = Ruby programmer, author known for = Why s (poignant) Guide to Ruby , Camping why the lucky stiff (often known simply as why… …   Wikipedia

  • BountySource — is a collaborative project management service for use by any open source software with an OSI approved license. Like other free services and products (SourceForge, trac, bugzilla), BountySource allows for developers to track bugs and feature… …   Wikipedia

  • BPSS — electronic Business using XML ebXML (prononcer i bi ix em el, comme dans eBusiness, bien que la prononciation eu bé ix em el soit très répandue), abréviation de l anglais Electronic Business using eXtensible Markup Language signifiant commerce… …   Wikipédia en Français

  • Couche processus d'affaires — electronic Business using XML ebXML (prononcer i bi ix em el, comme dans eBusiness, bien que la prononciation eu bé ix em el soit très répandue), abréviation de l anglais Electronic Business using eXtensible Markup Language signifiant commerce… …   Wikipédia en Français

  • EbBP — electronic Business using XML ebXML (prononcer i bi ix em el, comme dans eBusiness, bien que la prononciation eu bé ix em el soit très répandue), abréviation de l anglais Electronic Business using eXtensible Markup Language signifiant commerce… …   Wikipédia en Français

  • EbXML — electronic Business using XML ebXML (prononcer i bi ix em el, comme dans eBusiness, bien que la prononciation eu bé ix em el soit très répandue), abréviation de l anglais Electronic Business using eXtensible Markup Language signifiant commerce… …   Wikipédia en Français

  • Ebxml — electronic Business using XML ebXML (prononcer i bi ix em el, comme dans eBusiness, bien que la prononciation eu bé ix em el soit très répandue), abréviation de l anglais Electronic Business using eXtensible Markup Language signifiant commerce… …   Wikipédia en Français

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”