HTML code

Use the staticHTML property to embed some HTML code in a section.

Note that JavaScript is not supported in embedded HTML.

Property Value Description
staticHTML string The HTML code that will be rendered. Required.
styleSheetResources string The path to one or more external CSS stylesheets that contain the required CSS to format the HTML as needed.

Example:
"sections": [
    {
        "alignText": "left",
        "margin": 10,
        "padding": 10,
        "staticHTML": 
"<div style=\"overflow: auto\"><h2>staticHTML section</h2><p style=\"font-weight: bold; font-size: 0.75em\">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. </p><p>Ut enim ad minim veniam, quis nostrud <i>exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat</i>.</p> <ol><li>Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. </li><li>Excepteur sint occaecat cupidatat <b>non proident</b>, sunt in culpa qui officia deserunt mollit anim id est laborum.</li></ol></div>",
        "outline": true
    }
]