[Question] Combining Console and Markdown #1272
Unanswered
janaSunrise
asked this question in
Q&A
Replies: 1 comment
-
You can't combine console markup with Markdown, unless you customize markdown.py a bit. You could implement a basic subset of Markdown yourself, with the Text class. You will probably need a working knowledge of regexes.
You can add |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have an issue. I want to combine
console.print()
andMarkdown()
, So the user in my Chat application can use**Hello** :star:
and It would still work. I want to enable the user to use colors using[blue] <text> [/]
and Emojis, while parsing the markdown at same time too.Any idea how it can be achieved?
Also, How can I omit the newlines printed, when text is passed into
Markdown
and thenconsole.print
.Please guide me on how to do these. 😁
Beta Was this translation helpful? Give feedback.
All reactions