erdos / stencil

templating engine for DOCX and PPTX files
https://stencil.erdos.dev
Eclipse Public License 2.0
111 stars 12 forks source link

function to insert page break #124

Closed erdos closed 2 years ago

erdos commented 2 years ago

Currently, we need to insert a real page break in the template if we want to have one. But if it is inside a contros structure, this scatters the template and makes it more difficult to follow.

Proposal: Lets create a function that insrets a page break. Something like: {%=pageBreak()%}!