Examples of binding data from Docly documents and folders to HTML pages.
Force Chrome print media CSS in PDF
Add this comment anywhere in your output HTML code. This will force Chrome Headless engine to create PDF with print media css. Built-in display templates.
Set MIME by code
Setting a specific content-type header for your output response.
SetCulture date og number format
Use the setculture function to format dates and numbers according to a specific culture.
Simple binding
This example shows basic binding binding of data to HTML. This way you can generate HTML pages from your Docly documents.
Binding arrays
This example shows basic binding binding of data to HTML. This way you can generate HTML pages from your Docly documents.