rs_rich.markup¶
Generated from the type stubs by scripts/gen_python_api.py; do not edit.
rich.markup: escape, render and Tag.
MarkupError ¶
Bases: ConsoleError
Console markup that does not parse, such as a closing tag with no opener.
Tag ¶
escape ¶
Backslash-escape [ so text is printed literally rather than read as markup.
render ¶
render(markup: str, style: Union[str, Style] = '', emoji: bool = True, emoji_variant: Optional[Literal['emoji', 'text']] = None) -> Text
rich.markup.render (rs_rich.markup.render): console markup to a Text.