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
3
votes
1 answer

How to turn textile table rows readable with e.g. line wrapping or empty lines?

I’m editing a table in textile wiki syntax (e.g. redmine). – The lines are long and completely unreadable. It seems impossible to have empty lines in the source to separate logical table rows make a logical table row span multiple lines in the…
Robert Siemer
  • 32,405
  • 11
  • 84
  • 94
3
votes
1 answer

Modern alternative to Markdown syntax

I'm writing an authoring tool and love the idea behind Markdown where content creators can write in a semi-normal fashion and have their content be formatted nicely. I don't want to give authors too much freedom where they can have significant…
at.
  • 50,922
  • 104
  • 292
  • 461
3
votes
1 answer

What markup language to store in a DB?

Related: How to store lightweight formatting (Textile, Markdown) in database? I want to store comment formatting in some markup language in our DB. However, we want to allow multiple formatting languages (markdown, textile, restructuredText). It…
Paul Biggar
  • 27,579
  • 21
  • 99
  • 152
3
votes
3 answers

A "safe" python HTML text formatting (ala textile)

I've been looking around for an existing python library in the style of textile to format text for users to enter. If it was just me entering it, just textile would have been fine, but since the input is meant for a django app that will take user…
cwj
  • 2,473
  • 5
  • 28
  • 38
3
votes
1 answer

Sublime Text 2 - Add characters to the auto match settings

Is it possible to add characters to the list that sublime text 2 uses for the auto match feature. This is how it is described in the preferences. // Controls auto pairing of quotes, brackets etc "auto_match_enabled": true, I would like to add; *…
jossgray
  • 497
  • 6
  • 20
3
votes
1 answer

How to convert Wordpress blog posts from Textile 2 to Markdown?

I switched from Movable Type to Wordpress about a year or two ago. But I have continued to write my posts using Textile 2 formatting (with the help of a WP plugin). I've been impressed by the way Markdown has proliferated across the web; everywhere…
Kirkman14
  • 1,506
  • 4
  • 16
  • 30
2
votes
1 answer

simple WYSWYG publishing system

I'm constantly dealing with the same problem in many of my different projects: How to deal with making content publishable in the most simple way possible by people with low/no IT skills. The easiest way is shove something like TinyMCE (think…
holden
  • 13,471
  • 22
  • 98
  • 160
2
votes
1 answer

YAML on Textile Parsing

I think this is my first question here. I've been lurking around on StackOverflow for quite some time now it has been a great resource to me. I'm writing a small static site generator that works like jekyll (The end-user writes his page content in…
jpanganiban
  • 1,089
  • 10
  • 9
2
votes
1 answer

Django: markup - set the top heading

I am choosing between markup languages mentioned on https://docs.djangoproject.com/en/dev/ref/contrib/markup/ . But I need one specific thing - set the top heading. By default, there is h1 the first heading. I need to have h2 as the first. Exists…
yetty
  • 2,326
  • 2
  • 19
  • 22
2
votes
1 answer

Link repository files inside a table in a redmine project with multiple repositories

I would like to link a repository file in a redmine project with multiple repositories. So I have something like source:svn1|/path/to/file But I want that inside of a table and so I need to escape the | because it is interpreted as column…
Malte
  • 165
  • 2
  • 10
2
votes
2 answers

textile - how do I add a class to a definition list?

I'm using RedCloth to convert some textile text into html. One particular scenario seems particularly apt for using definition lists. With RedCloth, definition lists have this syntax (source): - coffee := Hot and black - tea := Also hot, but a…
kikito
  • 51,734
  • 32
  • 149
  • 189
2
votes
1 answer

Covert "back" to textile markup when editing post via RedCloth and Acts-as-Textiled?

Question: How can I "convert" my textile generated HTML back to textile markup in my app? Here's the situtation. I managed to piece together a poor man's blog editor in my Rails 3 app by implementing RedCloth and acts-as-textiled in my "posts"…
thoughtpunch
  • 1,907
  • 4
  • 25
  • 41
2
votes
1 answer

rails markitup/markdown or textile

I would like to give my user's the option to nicely format their comments. I am not really looking for something super fancy, perhaps something lightweight. There is a ton of information about markup/markdown/texttile etc. Which it the way to go in…
badnaam
  • 1,876
  • 4
  • 29
  • 53
2
votes
1 answer

How to set align and width simultaneously in textile?

Hello everyone. I am using redmine wiki and wonder how to set width and align simultaneously. When I use table I wrote this way.. |_.No|_.Date|_.Text| |{width:100px}.1|{width:100px}.2015/12/07|{width:100px}.meeting at school| Above code works…
passion053
  • 473
  • 3
  • 8
  • 21
2
votes
2 answers

How can I get Textile to create links out of plain URL's?

Many of my users are typing in plain URL's and not using the Textile format for creating links. I would like Textile to just make the URL's linkable to the URL's. I don't really need to worry about XSS or anything malicious because it is an internal…
Sixty4Bit
  • 12,852
  • 13
  • 48
  • 62
1 2
3
8 9