Textile (markup language): Difference between revisions

Content deleted Content added
m Latest release info
 
(29 intermediate revisions by 19 users not shown)
Line 1:
{{Infobox file format
| name = Textile
| icon =
| iconcaption =
| screenshot =
| caption =
| extensions = .textile
| mime =
| type code =
| uniform type =
| conforms to =
| magic =
| owner = [[Dean Allen]]
| released = {{Start date and age|2002|12|26}}<ref name="textism.com">{{cite web|url=http://textism.com/tools/textile/|archiveurl=https://web.archive.org/web/20021226035527/http://textism.com/tools/textile/|title=Textism › Tools › Textile|archivedate=26 December 2002|work=textism.com}}</ref>
| latest release version = 34.51.50 (PHP)
| latest release date = {{Start date and age|20132024|1201|2002}}<ref>{{cite web|url=https://github.com/textile/php-textile/commitsreleases/3.5tag/READMEv4.textile1.0|title=HistoryRelease notes for README.textilecurrent version – textile/php-textile · GitHub|work=GitHub}}</ref>
| genre = [[Markup language]]
| container for =
| contained by =
| extended from =
| extended to =
| standard =
| freeopen = yes
| url = {{URL|https://githubtextile-lang.com/textile}}
}}
 
Line 32:
 
Textile is one of several lightweight markup languages to have influenced the development of [[Markdown]].<ref>{{cite web|url=http://daringfireball.net/projects/markdown/syntax|title=Daring Fireball: Markdown Syntax Documentation|work=daringfireball.net}}</ref>
 
The first documented (but so far unofficial) wordmark and logo mark was created for Textile in 2015, the repository for which has since become part of the Textile organization on GitHub.<ref>{{cite web|url=https://github.com/textile/textile-mark|title=Textile Mark|work=GitHub}}</ref> The mark has since started being used as a file icon in text editors, including [[Atom (text editor)|Atom]], which supports the ''.textile'' file type.
 
== Programming language implementations ==
 
Textile was originally written in [[PHP]] (maintained as PHP-Textile<ref>{{cite web|url=https://github.com/textile/php-textile|title=textile/php-textile|work=GitHub}}</ref>), and has since been translated into [[Perl]],<ref>{{cite web|url=https://github.com/bradchoate/text-textile|title=bradchoate/text-textile|work=GitHub}}</ref> [[Python (programming language)|Python]] (Python-Textile),<ref>{{cite web|url=https://github.com/textile/python-textile|title=textile/python-textile|work=GitHub}}</ref> [[Ruby (programming language)|Ruby]],<ref>{{cite web|url=http://redcloth.org|title=RedCloth – Textile markup language for Ruby|author=Jason Garber|work=redcloth.org}}</ref> [[JavaScript]] (Textile-JS),<ref>{{cite web|url=https://github.com/borgar/textile-js|title=borgar/textile-js|work=GitHub}}</ref> and [[C Sharp (programming language)|C#]].<ref>{{cite web|url=https://textilenet.codeplex.com|title=Textile.NET|work=CodePlex}}</ref> A Java implementation used to exist called "Textile-J", but it was merged into the Mylin WikiText project.<ref>{{cite web|url=http://wiki.eclipse.org/Mylyn/Incubator/WikiText|title=Mylyn/WikiText|work=eclipse.org}}</ref>
 
=== Standardization ===
 
There is no standard nor a working specification at this time. However, there is a Textile "organization" on [[GitHub]] that invites contributions toward the creation of a common specification across Textile implementations.<ref>{{cite web|url=https://github.com/textile|title=Textile|work=GitHub}}</ref>
 
== 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 – <code>AGE(A Given Example)</code> – the result will render as an <code>abbr</code> element in HTML5 and as an <code>acronym</code> element in XHTML.<ref>{{cite web|url=http://txstyle.org/doc/32/acronyms|archive-url=https://web.archive.org/web/20210814112240/http://www.txstyle.org/doc/32/acronyms/|archive-date=2021-08-14|title=Textile · Acronyms and abbreviations|work=txstyle.org}}</ref> 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 <code>img</code> element, while XHTML remains with the <code>align</code> attribute.<ref>{{cite web|url=https://github.com/textile/php-textile/blob/master/README.textile|title=php-textile/README.textile at master · textile/php-textile · GitHub|work=GitHub}}</ref>
 
== Syntax usage ==
Line 53 ⟶ 43:
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.<ref>{{cite web|url=http://txstyle.org|title=Textile Syntax Documentation and Sandbox|work=txstyle.org}}</ref>
* Textile Reference Site for RedCloth – a help site for the Ruby implementation of Textile.<ref>{{cite web|url=http://redcloth.org/textile/|title=Textile (Markup Language) Reference Manual for RedCloth – RedCloth: Textile for Ruby|author=Jason Garber|work=redcloth.org}}</ref>
* Textile Syntax: Eclipse a reference site for the Java implementation of Textile that's now merged with Mylin WikiText.<ref>{{cite web|url=http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.mylyn.wikitext.help.ui%2Fhelp%2FTextile-Syntax.html|title=Help – Eclipse Platform|work=eclipse.org}}</ref>
* Textile 2 Syntax – MovableType's Textile authoring documentation.<ref>{{cite web|url=https://movabletype.org/documentation/author/textile-2-syntax.html|title=MovableType.org – Documentation: Textile 2 Syntax|work=movabletype.org}}</ref>
* Textile Cheatsheet – a basic quick-reference sheet from Warped Visions.<ref>{{cite web|url=http://warpedvisions.org/projects/textile-cheat-sheet/|archive-url=https://web.archive.org/web/20220117015012/http://warpedvisions.org/projects/textile-cheat-sheet/|archive-date=2022-01-17|title=Textile cheat sheet|work=warpedvisions.org}}</ref>
 
In addition to its suite of syntax usage, Textile automatically inserts [[character entity reference]]s for [[Apostrophe (mark)|apostrophes]], opening and closing single and double [[quotation mark]]s, [[Ellipsis|ellipses]] and [[Dash#Em dash|em dashes]], to name a few.
Line 75 ⟶ 65:
* [[Jekyll (software)]]
* [[Know Your Meme]]
* [[OpenProject]]
* [[Qt (software)|Qt]] official forums
* [[Redmine]]
* [[Salesforce.com]] – uses Textile in its Desk.com product<ref>{{cite web|url=https://support.desk.com/customer/portal/articles/295943-using-textile-to-create-rich-text-markup-in-agent-responses|archive-url=https://web.archive.org/web/20160911061615/https://support.desk.com/customer/portal/articles/295943-using-textile-to-create-rich-text-markup-in-agent-responses|archive-date=2016-09-11|title=Desk.com – Use Textile to Create Rich Text Markup i...|work=Desk.com}}</ref>
* [[SUSE Studio]]
* Textile Note – a text application for [[iOS]], [[Android (operating system)|Android]], and Windows that supports Textile<ref>{{cite web|url=http://appcrawlr.com/ipad/textilenote |title=AppCrawlr: the app discovery engine.|work=appcrawlr.com}}</ref>
* Textile Wiki<ref>{{cite web|url=http://www.textilewiki.com |title=Textile Wiki|work=textilewiki.com}}</ref>
* WriteMonkey – a distraction-free desktop text editor for Windows; supports various markup languages, including Textile<ref>{{cite web|url=http://writemonkey.com/index.php|title=WriteMonkey – Home|work=writemonkey.com}}</ref>
* WiGit – a [[Git (software)|Git]]-based Wiki<ref>{{cite web|url=https://el-tramo.be/wigit/|title=WiGit: A Git-based Wiki (homepage)}}</ref><ref>{{cite web|url=https://github.com/remko/wigit/|title=WiGit on GitHub|website=[[GitHub]] }}</ref>
 
==See also==
Line 95 ⟶ 86:
 
==External links==
* {{[https://textile-lang.com Official website}}]
 
[[Category:Lightweight markup languages]]