jbt / docker

Documentation generator
http://jbt.github.com/docker
MIT License
234 stars 56 forks source link

Block comments cosmetics #20

Open Prevole opened 11 years ago

Prevole commented 11 years ago

Hi again,

Just a quick remark for improvement (in my opinion)

When I write that:

###!
My comments or code in progress or anything else that should not appear in the doc
!###

I get the same result in the code side. I expected to have the block comment generated without the ! in the final result.

For sure it is not so important and only my preference. Maybe this could be an option or something like that in a future version?

adambiggs commented 11 years ago

+1

CoffeeScript keeps block comments in the generated JS, but removes single-line comments. There might be times when you don't want a comment block in the docs, but you do want it in the compiled JS. Right now that's not possible.