MarkdownText
- class omni.kit.window.extensions.markdown_renderer.MarkdownText(content)
Bases:
object
A class for rendering markdown text within a UI context.
This class takes a markdown-formatted string and displays it using the appropriate styles for headings and regular text lines.
- Parameters
content (str) – Markdown-formatted string to be rendered.
Methods
__init__
(content)Initializes a new instance of the MarkdownText class, which parses markdown content and creates a styled UI representation.
- __init__(content)
Initializes a new instance of the MarkdownText class, which parses markdown content and creates a styled UI representation.