HTML Renderer
Render HTML, sanitizing it first
Demos & Screenshots
No screenshots provided yet. Have some video demos or screenshots of this
brick
in the wild?
Send them over to
[email protected]!
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. |
Details
ID | @pixiebrix/html |
---|---|
Author |
@pixiebrix
|
Version | 1.6.3 |
Created | Aug. 17, 2021 |
Updated | April 20, 2022 |
Related Bricks
- No related bricks