First Check
Commit to Help
Example Code
import typer
app = typer.Typer(rich_markup_mode="markdown")
@app.command()
def bullet_list(item: str):
"""bullet list
- 1
- 2
- 3
"""
print(f"Deleting item: {item}")
@app.command()
def nested_bullet_list(item: str):
"""nested bullet list
- 1
- 2
- a
- b
- 3
"""
print(f"Creating item: {item}")
if __name__ == "__main__":
app()
Description
Bullet lists are rendered incorrectly when rich_markup_mode is set to "markdown". Instead of rendering a list, all list items appear on the same line. This does not happen when the mode is set to "rich".
Operating System
macOS
Operating System Details
No response
Typer Version
0.6.1
Python Version
Python 3.7.12
Additional Context
No response
First Check
Commit to Help
Example Code
Description
Bullet lists are rendered incorrectly when
rich_markup_modeis set to "markdown". Instead of rendering a list, all list items appear on the same line. This does not happen when the mode is set to "rich".Operating System
macOS
Operating System Details
No response
Typer Version
0.6.1
Python Version
Python 3.7.12
Additional Context
No response