HTML Renderer
by @pixiebrix
Render HTML, sanitizing it first
How to Use
This HTML Renderer brick can be used to insert HTML into wherever the blueprint is rendering to. There are some limitations such as not allowing Javascript or some advanced css features, but for the most part any HTML will work.
Examples
- Tutorial: Show Table in a Sidebar (5 min)
Additional resources
https://www.w3schools.com/html/
For displaying data more dynamically such as duplicating an element for each item in an array, look into Nunjucks: https://mozilla.github.io/nunjucks/templating.html
Inputs
Name | Required | Type | Description |
---|---|---|---|
html |
string
|
The HTML string to render |
Outputs
Name | Required | Type | Description |
---|---|---|---|
No outputs for this brick defined. |
Related tags
@pixiebrix/html
Version
1.7.16
Created
Aug. 17, 2021
Updated
Oct. 31, 2022