rich/questions/square_brackets.question.md
Will McGugan 084412d854 questions
2022-11-30 12:16:50 +07:00

435 B

title alt_titles
Why does content in square brackets disappear?
Can not print a [string]

Rich will treat text within square brackets as markup tags, for instance "[bold]This is bold[/bold]".

If you are printing strings with literally square brackets you can either disable markup, or escape your strings. See the docs on console markup for how to do this.