Creating PDF templates in HTML Last updated: 26. May 2026
You can in Docly create document templates that will be rendered from HTML and convert to PDF.
These templates can be used for document downloads or publishing online.
Set up your template in HTML and end your template ID with .PDF
Use the "Integrated designer" option when creating your template and end your template ID with .PDF.
Either program your desired template or import another one
In the example below we just import the already existing HTML template.
#include("Web page.html")#Done
The downloaded or published documents using this template will automatically be generated in HTML and converted to PDF.
Landscape layout
Specify this comment anywhere in HTML output:
<!-- PDF Landscape -->Remove pager from footer
Specify this comment anywhere in HTML output:
<!-- PDF No pageno -->