Patra

Edit the template or the data - the document re-renders.

github.com/eka-care/patra

The template is the layout; the data fills it. Neither knows about the other until they meet in renderTemplate - so the same data can drive a different document.

The document

Rendered by the same engine a server would call. Print it to see the page breaks resolve.