Skip to main content

Markup

Used for rendering custom HTML content.

danger

One of the key advantages of Wave is zero HTML / CSS / JS knowledge. We strongly advise you to use native Wave components and use custom HTML only as a last resort solution.

markup-0

content = '''
<ol>
<li>Spam</li>
<li>Ham</li>
<li>Eggs</li>
</ol>
'''
q.page['example'] = ui.form_card(box='1 1 2 2', items=[
ui.markup(name='markup', content=content)
])

The name attribute indicates how to reference this component in the query arguments: q.args.<name-attr>.

Check the full API at ui.markup.