rich.markup¶
- class rich.markup.Tag(name, parameters)[source]¶
A tag in console markup.
- property name¶
The tag name. e.g. ‘bold’.
- property parameters¶
Any additional parameters after the name.
- rich.markup.escape(markup, _escape=<built-in method sub of re.Pattern object>)[source]¶
Escapes text so that it won’t be interpreted as markup.