stencilproject/Stencil

Ability to keep empty lines in output

artyom-razinov opened this issue · 1 comments

I'm using Sourcery for code generation, which uses Stencil, and I want to have empty lines in output, but all empty lines are removed from output. Is there a way to insert an empty line? Like some tag "{% emptyLine %}". Or maybe it can be somehow controlled so I have to improve Sourcery.

kylef commented

You can just enter an empty line \n\n there is no need for a special template tag for this.