Method: rich.markdown.TextElement.on_text
Calls: 100, Exceptions: 0, Paths: 1Back
Path 1: 100 calls (1.0)
MarkdownContext (100)
' ' (5) ', ' (4) 'Heading' (4) '.' (4) 'bold' (3) 'italic' (3) 'import this' (3) 'Sub-heading' (2) 'H4 Heading' (2) 'H5 Heading' (2)
1def on_text(self, context: "MarkdownContext", text: TextType) -> None:
2 self.text.append(text, context.current_style if isinstance(text, str) else None)