creationix/haml-js — Issue #59: :plain filter
Author: johannesjh
Created: 2012-02-12 01:49:51+00:00
State: open

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:

```
%pre
:plain
this is my sample code.
syntax-highlighting will be done on the client-side
i want newlines and spaces to be preserved.
```