Questions tagged [textile]

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.

Textile is a lightweight markup language that converts its text input to valid, well-formed XHTML.

It 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.

Wikipedia entry

127 questions
104
votes
13 answers

Javascript to convert Markdown/Textile to HTML (and, ideally, back to Markdown/Textile)

There are several good Javascript editors for Markdown / Textile (e.g.: http://attacklab.net/showdown/, the one I'm using right now), but all I need is a Javascript function that converts a string from Markdown / Textile -> HTML and back. What's the…
Tom Lehman
  • 85,973
  • 71
  • 200
  • 272
89
votes
5 answers

Compare and contrast the lightweight markup languages

Please identify the most popular lightweight markup languages and compare their strengths and weaknesses. These languages should be general-purpose markup for technical prose, such as for documentation (for example, Haml doesn't count). See also:…
JasonSmith
  • 72,674
  • 22
  • 123
  • 149
26
votes
2 answers

Github Wiki's table and header

What's the easy way to type wiki document in Github with header and table? Here is what annoying to me: If I use Markdown, I have to use . If I use Textile, there is no # or ## for header I like the |col1|col2| syntax though. What people…
HP.
  • 19,226
  • 53
  • 154
  • 253
19
votes
4 answers

How to store lightweight formatting (Textile, Markdown) in database?

I'm going to be implementing a lightweight formatting language (probably Textile, maybe Markdown) in a project I'm working on, and I'm wonder how best to store it in the database. If the user is able to edit the content they're posting, it makes…
Justin Stayton
  • 6,031
  • 8
  • 37
  • 43
16
votes
3 answers

Convert Textile Markup to Markdown?

I'm merging legacy Systems and some components use Markdown and others use Textile formatting. This is extremely confusing to my users. Therefore I want to standardize on Markdown. Is there a way to convert at least the Bulk of Textile formatting to…
max
  • 29,122
  • 12
  • 52
  • 79
15
votes
3 answers

How do I escape the markdown parser for certain pieces of text?

I'm using textile to generate HTML for a specific page and in the copy, there is a need for (c) to be generated without the copyright symbol. Unfortunately, textile always does it. Is there a way in textile to escape the parsing it does to change…
jfedick
  • 1,362
  • 10
  • 17
13
votes
1 answer

Filling bars in barplot with textiles in ggplot2

test <- data.frame(a=c(1,2,3,4), b=c(4,4,4,4)) ggplot(test, aes(x=a, y=b, fill=factor(a)))+geom_bar(stat='identity') but i also want to add texitiles in this plot, something like: Thank you very much
user36102
  • 275
  • 2
  • 3
  • 12
12
votes
5 answers

How to convert existing redmine wiki from textile to markdown?

I want to use markdown as my redmine wiki engine. I installed the markdown plugin and it worked well. The only question is, how can I convert those old wiki (textile) into markdown so they can be displayed correctly?
hSATAC
  • 301
  • 3
  • 8
12
votes
2 answers

Is there any way to comment out text in textile?

LaTeX has %, html has <\!-- to denote that a comment folows. Does textile have anyway of commenting out text? I couldn't find one, and it seems like it would be a nice feature to have.
eydaimon
  • 121
  • 3
11
votes
2 answers

Blank lines in list in Redmine

This seems so stupidly simple, but I can't figure it out. I'd like to make a list like this in my Redmine project wiki: Really complicated item Line 3 Next complicated item Basically, I want to have blank lines in my list without restarting…
James Johnston
  • 9,264
  • 9
  • 48
  • 76
11
votes
5 answers

How can I convert HTML to Textile?

I'm scraping a static html site and moving the content into a database-backed CMS. I'd like to use Textile in the CMS. Is there a tool out there that converts HTML into Textile, so I can scrape the existing site, convert the HTML to Textile, and…
Joe Van Dyk
  • 6,828
  • 8
  • 57
  • 73
10
votes
1 answer

What's the standard file extension for textile files?

What's the standard file extension for textile files? I know that .md is commonly used for markdown files. I didn't know if there was a standard for textile.
Keltex
  • 26,220
  • 11
  • 79
  • 111
9
votes
2 answers

Textile parsing in Objective-C?

Are there any libraries to parse Textile (Textile to HTML) which will work in an Objective C iPhone app? C libraries will work too. Update: I couldn't find any sufficiently developed libraries in C/Obj-C, but I did find one written in Javascript,…
igul222
  • 8,557
  • 14
  • 52
  • 60
8
votes
2 answers

Textile: line breaks in table cells

How can I get the following with Texttile:
Model: Ford
BMW
VM
So where one cell has multiple lines.
Pickels
  • 33,902
  • 26
  • 118
  • 178
7
votes
3 answers

JavaScript libraries for Markdown, Textile and others; Anchor references

I need a javascript library to convert structured ascii text to html on the fly. I am especially interested in the following point: I would like do use anchored links inside pages, see http://www.w3.org/TR/REC-html40/struct/links.html#h-12.1.1 Which…
user89021
  • 14,784
  • 16
  • 53
  • 65
1
2 3
8 9