Raw PDF
A directory containing a raw.pdf file is a raw template: the PDF is returned as-is, with no HTML rendering and no browser involved.
cover-page/
raw.pdfcurl http://localhost:9999/templates/cover-page/render -X POST \
-H 'Content-Type: application/json' -d '{}' > cover.pdfWhy it exists
Raw templates are most useful as building blocks in compositions: a fixed cover page, legal boilerplate, or a pre-approved appendix that should be concatenated with dynamically rendered pages. The only_static composition and the simple_raw template in the Gallery show this.
Raw templates have no schema, examples, or parameters — they are a static asset wrapped as a template.