trame.html.markdown
You can find more information about using Markdown with trame here.
- class trame.html.markdown.Markdown(**kwargs)[source]
Bases:
trame.html.AbstractElement
Create a markdown viewer element
- Parameters
v_model – Variable name in state
>>> component = Markdown(v_model=("document", "**Bold**"))
>>> content = """ ... ... # My document ... 1. First ... 2. Second ... 3. Third ... ... Hello "trame" ... """ >>> component = Markdown(v_model=("document2", content))