I'm building a new web site with nanoc. I just discovered Haml and
I'd like to use that because it looks very clean. Unfortunately, I
ran into a problem. I'm obtaining Markdown text and passing it to
nanoc's filter function. However, pandoc doesn't render the text,
apparently because the text is intended.
This works fine:
- filter(:pandoc) do
= "# Test2"
but this doesn't because pandoc gets the text " # Test" rather than
"# Test".
.right
- filter(:pandoc) do
= "# Test"
Is this expected behaviour? Is there a way to stop Haml from
intending the text? I tried ~ and < but they don't help.
For the record, here is what I'm actually trying to do in nanoc:
- if content_for(@item, :right)
.right
- filter(:pandoc) do
= content_for(@item, :right)
--
Martin Michlmayr
http://www.cyrius.com/
--
You received this message because you are subscribed to the Google Groups
"Haml" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/haml?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.