goodeggs / teacup

Teacup is templates in CoffeeScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pretty printing

stanch opened this issue · comments

commented

Hi! Let me say this is just awesome :)

I think it would be even better if there was a pretty-printing mode, i.e. with indentation. I looked at the sources and it does not seem to be implemented.

Kind regards,
Nick

Thanks for the feedback. I'd love to merge a pull request that implements pretty printing if you want to make it happen. If you want to go for it and need any help, let us know.

Heads up, pretty printing was intentionally left out. Changing whitespace in HTML can introduce subtle spacing issues.

commented

Ok, actually on a second thought I might just use dev console in the browser (prettifying makes sense only for debugging anyway, i.e. due to the linked effect).