4 ms·
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 t
by roryokane 16y ago
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.