I know there's already a lot of posts on this topic, but I can't find
a answer to this simple problem:
What is the most elegant way to author code blocks in haml?
So far using :markdown seems to get me the closest, but I still have
problems. Here's my example
:markdown
<sample code>
...more sample code
this generates
<pre><code><sample code>
...more sample code
</code></pre>
which is almost fine. The problem is the spaces that are prepended to
the "...more sample code" line - I don't want them! I know this can be
solved by pushing the sample code into a partial or a helper, but I'd
like to have it inline if possible. Any suggestions?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Haml" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/haml?hl=en
-~----------~----~----~----~------~----~------~--~---