File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -149,12 +149,9 @@ def _make_rich_text(
149
149
) -> Union [Markdown , Text ]:
150
150
"""Take a string, remove indentations, and return styled text.
151
151
152
- By default, return the text as a Rich Text with the request style.
153
- If `rich_markdown_enable` is `True`, also parse the text for Rich markup strings.
154
- If `rich_markup_enable` is `True`, parse as Markdown.
155
-
156
- Only one of `rich_markdown_enable` or `rich_markup_enable` can be True.
157
- If both are True, `rich_markdown_enable` takes precedence.
152
+ By default, the text is not parsed for any special formatting.
153
+ If `markup_mode` is `"rich"`, the text is parsed for Rich markup strings.
154
+ If `markup_mode` is `"markdown"`, parse as Markdown.
158
155
"""
159
156
# Remove indentations from input text
160
157
text = inspect .cleandoc (text )
You can’t perform that action at this time.
0 commit comments