Skip to content

HTML

Renders raw HTML that you write directly, with text templates resolved before rendering.

Text components · element type html · binds through text templates, in text and in attributes

Related: Rich Text · Text · Custom Components

Examples

<!-- Markup with a value from your data -->
<h1>{$params.title}</h1>

<!-- Templates resolve inside attributes too -->
<a href="{$data.url}">Open the portal</a>

Options

The Editor section holds a code editor for the HTML itself, plus these options:

Option Default Description
Column Count Not set Splits the rendered content into that many columns
Column Gap Not set Space between columns. Accepts any CSS unit
Allow this component to break across multiple pages Off Lets long content continue onto the next page instead of moving whole

Notes

  • Use HTML when you already have markup, or need an element the component set does not provide. For text you author in the report, Rich Text gives you formatting without writing markup
  • Multi-column page breaking only works when the component sits directly inside the Content element. The editor shows a note about this when you combine both options
  • Text templates resolve inside attributes as well as text, so <a href="{$data.url}"> works
  • Content can be added to a dictionary for translation