Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keeping New lines inside markup #280

Closed
fcalderan opened this issue Jun 6, 2013 · 1 comment
Closed

Keeping New lines inside markup #280

fcalderan opened this issue Jun 6, 2013 · 1 comment

Comments

@fcalderan
Copy link

For readability purpose, it would be nice to have an option to keep all the newlines inside the markup. Since I usually work with server side inclusion, while I'm debugging I'd really like to clearly see the result of every single include, so I can easier identify which inclusion needs to be fixed.

Right now I'm using comments like <!-- start sidebar -->...<!-- end sidebar -->[some breakspaces removed] as visual boundaries of my partials, but they're not enough especially when I have many inclusions. If I can keep newspaces between them it would help a lot.

Thak you.

@bitwiseman
Copy link
Member

Thanks! So, this is like #96 but for html.
jonschlinkert/grunt-prettify#3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants