Hi,
I have a view template like
.message
.body= markdown(message.body)
.by= message.author
and the message.body has a number of markdown code blocks within it.
Now what keeps happening is when viewed in a browser the first line of
the code block is fine. Its on the same line as the <pre><code> tags
but each other line is over indented. As below
## chicken.rb
class Chicken
def bawk
puts "baw-kawk"
end
end
I am guessing that this is caused in part by markdown and partly by
Haml, but I've no idea how to resolve it. I tried using the markdown
Haml filter but you can't pass a variable or anything like that to the
filter.
Are there any ideas about how I can fix this?
Thank you,
Spongy
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---