News for hackers. Stuff that matters.
Re:I Hate Haml by roryokane on Tuesday November 16, 2010 @02:44PM (#1911319)
I don’t use Haml myself, but I have read that this is not how you are supposed to write long text in it. The recommended way to write paragraphs with a lot of tags is to use a filter, like Markdown or Textile. This is a better way to write the sample paragraph in the article, using Markdown:

  %h2 Heading content
  %p
    :markdown
      This is just some *emphatic* text. Maybe I'll talk about `$BASH_VERSION` here.
Note that Markdown allows you to embed normal HTML tags within itself, in case it doesn’t provide syntax for the tag you want. I’m not sure what the Haml stance is on that practice.

There are no comments on this comment yet.