I've been looking at Dean Allen's Redcloth, which claims to incorporate both Markdown and Textile, as implemented in Ruby by _why. While the code is clear and readable, the boundary between markdown and Textile is not. The documentation says # By default, Redcloth uses both Textile and Markdown formatting, with # Textile formatting taking precedence. If you want to turn off Markdown # formatting, to boost speed and limit the processor: # # class Redcloth::Textile.new( str ) However I can't find that class, which just makes me more confused about what is Textile and what is Markdown. Is one an extension of the other? Which way round? Or do they do quite separate things? /anton
Anton J Aylward wrote:> I've been looking at Dean Allen's Redcloth, which claims to > incorporate both Markdown and Textile, as implemented in Ruby by _why. > While the code is clear and readable, the boundary between markdown > and Textile is not.That always bothered me about Redcloth. It's taking two very different syntaxes, trying to cater to them both, while "favoring" Textile. Something of a Frankenstein... Did you look at Bluecloth? I haven't recently, and I have to admit that the last time I looked, it still (many months after the fact) wasn't up to the latest Markdown -- it seemed it had somewhat stagnated as a project -- but at least it *is* for Markdown syntax and only Markdown syntax. And it worked well on the few MD texts I used it with. /Jelks