Open johannesjh opened 12 years ago
:plain has not been implemented yet. Use :pre instead.
%html
:pre
this is my sample code.
syntax-gighlighting will be done on the client-side
i want new lines and spaces to be preserved
thanks for the hint, this solves my problem! ;-)
Please add a :plain filter to the haml-js implementation.
I find the :plain filter does not work and is not documented, is it just not implemented? It would come in handy for my purpose of writing code examples using the haml template language in https://github.com/bevry/docpad/
e.g. i would like to write a codeblock like this: