pug - Jade: How to have an empty line in an output HTML? -


i want have empty lines between sections, comments , tags. i'm using jade output html , can't output empty lines. here want.

<div>   <div class='another'>   </div> </div>  <div>   want line above </div> 

these couple of options worked me:

the = operator (which enters evaluated piece of code) string newline character '\n'

div     div.another = '\n' div want line... 

the | pipe operator (which enters plain text) space. (had 2 of them reason..

div     div.another |    // < followed blank spaces |  div want line... 

Comments