def on_leave(self, context: MarkdownContext) -> None:
        """Called when the parser leaves the element.

        Args:
            context (MarkdownContext): [description]
        """
Called when the parser leaves the element.

        Args:
            context (MarkdownContext): [description]
        
rich/markdown.py