The API enables rendering of HTML templates now. The template syntax is based on the Jinja template rendering engine.
You can interactively fiddle with the new functionality in this API Playground example.
New methods:
- setDataString()
- setDataFile()
- setDataFormat()
- setDataEncoding()
- setDataIgnoreUndefined()
- setDataAutoEscape()
- setDataTrimBlocks()
- setDataOptions()
You can find more information in our API documentation.