def highlight(self, text: Text) -> None:
        """Apply highlighting in place to text.

        Args:
            text (~Text): A text object highlight.
        """
Apply highlighting in place to text.

        Args:
            text (~Text): A text object highlight.
        
rich/highlighter.py