creationix / haml-js

Haml ported to server-side Javascript. This is a traditional server-side templating language. Tested with node-js
MIT License
902 stars 110 forks source link

Feature Request: HAML Comment support #16

Closed Marak closed 13 years ago

Marak commented 14 years ago

Could we possibly add the feature of being able to use HAML comments?

http://haml-lang.com/docs/yardoc/file.HAML_REFERENCE.html#haml_comments_

It would be nice to embed some inline comments (that dont ever get rendered to HTML) to assist maintaining our haml.js templates

pjg commented 13 years ago

Yes, could you please add this? :)

At the moment I'm commenting out parts of code like this:

:javascript
  // %span blah blah
aaronblohowiak commented 13 years ago

Will be in 0.3

aaronblohowiak commented 13 years ago

Landed in https://github.com/creationix/haml-js/commit/d1b5f7d4c81e70fc1d74b47facd2ad412a347908

Marak commented 13 years ago

Sweeeet