Rich markup inside of Markdown #1249
-
It is possible to use console markup inside of from rich import print
from rich.table import Table
print(Table("[bold cyan]test[/bold cyan]")) However, it does not work with the
Result:
Is it a feature that could be added to rich ? |
Beta Was this translation helpful? Give feedback.
Answered by
willmcgugan
May 22, 2021
Replies: 1 comment 1 reply
-
Afraid not. It wouldn’t technically be markdown if there is another markup overlayed on top of it. Have a look at markdown.py if you want to add more colour. The Markdown class was designed to be easy to customise. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
willmcgugan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Afraid not. It wouldn’t technically be markdown if there is another markup overlayed on top of it.
Have a look at markdown.py if you want to add more colour. The Markdown class was designed to be easy to customise.