Answer the question
In order to leave comments, you need to log in
Is it possible to indent between lines of code in assembled html using Jade?
When using Jade, there is no indentation between lines in the resulting html. How can I put them in the right places. I would like to delimit some parts of the page.
Answer the question
In order to leave comments, you need to log in
You can use this construction for this:
For example, like this:
body
section: h2 Section 1
= '\n'
section: h2 Section 2
<body>
<section>
<h2>Section 1</h2>
</section>
<section>
<h2>Section 2</h2>
</section>
</body>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question