MCPcopy
hub / github.com/Textualize/rich / leave_style

Method leave_style

rich/markdown.py:507–510  ·  view source on GitHub ↗

Leave a style context.

(self)

Source from the content-addressed store, hash-verified

505 return self.current_style
506
507 def leave_style(self) -> Style:
508 """Leave a style context."""
509 style = self.style_stack.pop()
510 return style
511
512
513class Markdown(JupyterMixin):

Callers 2

__rich_console__Method · 0.95
on_leaveMethod · 0.80

Calls 1

popMethod · 0.45

Tested by

no test coverage detected