Textile (markup language)

Last updated
Textile
Filename extensions
.textile
Developed by Dean Allen
Initial releaseDecember 26, 2002;21 years ago (2002-12-26) [1]
Latest release
4.1.0 (PHP)
January 2, 2024;30 days ago (2024-01-02) [2]
Type of format Markup language
Open format?yes
Website 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.

Contents

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

Related Research Articles

<span class="mw-page-title-main">HTML</span> HyperText Markup Language

The HyperText Markup Language or HTML is the standard markup language for documents designed to be displayed in a web browser. It defines the content and structure of web content. It is often assisted by technologies such as Cascading Style Sheets (CSS) and scripting languages such as JavaScript.

<span class="mw-page-title-main">Eclipse (software)</span> Software development environment

Eclipse is an integrated development environment (IDE) used in computer programming. It contains a base workspace and an extensible plug-in system for customizing the environment. It is the second-most-popular IDE for Java development, and, until 2016, was the most popular. Eclipse is written mostly in Java and its primary use is for developing Java applications, but it may also be used to develop applications in other programming languages via plug-ins, including Ada, ABAP, C, C++, C#, Clojure, COBOL, D, Erlang, Fortran, Groovy, Haskell, JavaScript, Julia, Lasso, Lua, NATURAL, Perl, PHP, Prolog, Python, R, Ruby, Rust, Scala, and Scheme. It can also be used to develop documents with LaTeX and packages for the software Mathematica. Development environments include the Eclipse Java development tools (JDT) for Java and Scala, Eclipse CDT for C/C++, and Eclipse PDT for PHP, among others.

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. Lightweight markup languages are used in applications where it may be necessary to read the raw document as well as the final rendered output.

<span class="mw-page-title-main">DokuWiki</span> Wiki software

DokuWiki is an open source wiki application licensed under GPLv2 and written in the PHP programming language. It works on plain text files and thus does not need a database. Its syntax is similar to the one used by MediaWiki. It is often recommended as a more lightweight, easier to customize alternative to MediaWiki. The 'Doku' in DokuWiki is short for Dokumentation which in German means documentation.

<span class="mw-page-title-main">Markdown</span> Plain text markup language

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 intended to be easy to read in its source code form. Markdown is widely used for blogging and instant messaging, and also used elsewhere in online forums, collaborative software, documentation pages, and readme files.

HTML Tidy is a console application for correcting invalid HyperText Markup Language (HTML), detecting potential web accessibility errors, and for improving the layout and indent style of the resulting markup. It is also a cross-platform library for computer applications that provides HTML Tidy's features.

AsciiDoc is a human-readable document format, semantically equivalent to DocBook XML, but using plain-text mark-up conventions. AsciiDoc documents can be created using any text editor and read “as-is”, or rendered to HTML or any other format supported by a DocBook tool-chain, i.e. PDF, TeX, Unix manpages, e-books, slide presentations, etc. Common file extensions for AsciiDoc files are txt and adoc.

Haml is a templating system that is designed to avoid writing inline code in a web document and make the HTML cleaner. Haml gives you the flexibility to have some dynamic content in HTML. Similar to other template systems like eRuby, Haml also embeds some code that gets executed during runtime and generates HTML code in order to provide some dynamic content. In order to run Haml code, files need to have a .haml extension. These files are similar to .erb or .eRuby files, which also help embed Ruby code while developing a web application.

Extensible HyperText Markup Language (XHTML) is part of the family of XML markup languages which mirrors or extends versions of the widely used HyperText Markup Language (HTML), the language in which Web pages are formulated.

Doxia is a content generation framework that provides its users with powerful techniques for generating static and dynamic content. Doxia can be used in web-based publishing context to generate static sites, in addition to being incorporated into dynamic content generation systems like blogs, wikis and content management systems. Doxia is now a subproject of Apache Maven which uses it to convert APT markup documentation into HTML or other formats.

<span class="mw-page-title-main">Org-mode</span> Open source mode for GNU Emacs

Org Mode is a mode for document editing, formatting, and organizing within the free software text editor GNU Emacs and its derivatives, designed for notes, planning, and authoring. The name is used to encompass plain text files that include simple marks to indicate levels of a hierarchy, and an editor with functions that can read the markup and manipulate hierarchy elements.

<span class="mw-page-title-main">Gitit (software)</span>

Gitit is a form of wiki software employing a distributed revision control system such as Git to manage the wiki history, and the Pandoc document conversion system to manage markup – permitting, among other things, the inclusion of LaTeX mathematical markup.

<span class="mw-page-title-main">Apostrophe (text editor)</span>

Apostrophe is an open-source, minimalist Markdown text editor, developed by Wolf Vollprecht. It was originally created for the Ubuntu App Showdown, and has since received recognition as one of the Top 10 Ubuntu Apps of 2012.

Pandoc is a free-software document converter, widely used as a writing tool and as a basis for publishing workflows. It was created by John MacFarlane, a philosophy professor at the University of California, Berkeley.

<span class="mw-page-title-main">PlantUML</span> Open-source software tool

PlantUML is an open-source tool allowing users to create diagrams from a plain text language. Besides various UML diagrams, PlantUML has support for various other software development related formats, as well as visualisation of JSON and YAML files.

Gollum is a wiki software using git as the back end storage mechanism, and written mostly in Ruby. It started life as the wiki system used by the GitHub web hosting system. Although the open source Gollum project and the software currently used to run GitHub wikis have diverged from one another, Gollum strives to maintain compatibility with the latter. Currently it is used by GitLab server to store and interconnect wiki-pages with wiki-links, but the plan is to move complete away from Gollum in the future.

References

  1. 1 2 "Textism › Tools › Textile". textism.com. Archived from the original on 26 December 2002.
  2. "Release notes for current version – textile/php-textile · GitHub". GitHub.
  3. "Daring Fireball: Markdown Syntax Documentation". daringfireball.net.
  4. "Textile · Acronyms and abbreviations". txstyle.org. Archived from the original on 2021-08-14.
  5. "php-textile/README.textile at master · textile/php-textile · GitHub". GitHub.
  6. "Textile Syntax Documentation and Sandbox". txstyle.org.
  7. Jason Garber. "Textile (Markup Language) Reference Manual for RedCloth – RedCloth: Textile for Ruby". redcloth.org.
  8. "Help – Eclipse Platform". eclipse.org.
  9. "MovableType.org – Documentation: Textile 2 Syntax". movabletype.org.
  10. "Textile cheat sheet". warpedvisions.org. Archived from the original on 2022-01-17.
  11. "Desk.com – Use Textile to Create Rich Text Markup i..." Desk.com. Archived from the original on 2016-09-11.
  12. "AppCrawlr: the app discovery engine". appcrawlr.com.
  13. "Textile Wiki". textilewiki.com.
  14. "WriteMonkey – Home". writemonkey.com.
  15. "WiGit: A Git-based Wiki (homepage)".
  16. "WiGit on GitHub". GitHub .