diff --git a/src/rich_click/rich_help_formatter.py b/src/rich_click/rich_help_formatter.py index 9c2b926c..796e6beb 100644 --- a/src/rich_click/rich_help_formatter.py +++ b/src/rich_click/rich_help_formatter.py @@ -42,7 +42,6 @@ def create_console(config: RichHelpConfiguration, file: Optional[IO[str]] = None "usage": config.style_usage, } ), - highlighter=config.highlighter, color_system=config.color_system, force_terminal=config.force_terminal, file=file, diff --git a/src/rich_click/rich_help_rendering.py b/src/rich_click/rich_help_rendering.py index 1a0498eb..ddb7ea37 100644 --- a/src/rich_click/rich_help_rendering.py +++ b/src/rich_click/rich_help_rendering.py @@ -59,6 +59,9 @@ def _make_rich_rext(text: str, style: StyleType, formatter: RichHelpFormatter) - config = formatter.config # Remove indentations from input text text = inspect.cleandoc(text) + # TODO: + # In a future major version release, decouple emojis and markdown. + # Decoupling isn't something that is sensible without breaking the API. if config.use_markdown: if config.use_markdown_emoji: text = Emoji.replace(text)