javascript - Can I configure Jade to generate readable well-indentated HTML code rather than single-line stream? -
I am searching for nodes, express and jade and it has generated a single-line consensual HTML code line. It is not necessary to say that this work is very inconvenient when it is discovered how things work and debug my first app can it be configured to prepare the code to teach humans? I mean the new lines tagged with tags and tagged with the appropriate indentation in the tag hierarchy?
If you are the Z API, you can jade.compile (template, {pretty: true}) (Model) . .
Comments
Post a Comment