bem-site / bem-forum-content-en

Content BEM forum for English speak users
3 stars 0 forks source link

Configuration to have html not minified in tools #26

Open Jesse-Breuer opened 8 years ago

Jesse-Breuer commented 8 years ago

Hello I am going through the quickstart tutorial. One of the first things I noticed on getting it running is that the HTML generated is all on one line. I am looking for a way to have it display in a readable way. I have looked at enb-borschik>techs>borschik.js and have tried commenting out: line 69: .defineOption('minify', true) line 85: minimize: this._minify, and restarted the server, but still seeing it compressed to one line. please let me know what to change to fix this. Thank You

qfox commented 8 years ago

If you using ENB I'm pretty sure that you're looking for https://github.com/enb-make/enb-beautify

You can't get formatted HTML from template engine that generates (it hasn't option for indenting), but you can beautify it by self afterwards.

Hope this helps!