-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Underscores are being stripped out incorrectly in table cells #10
Comments
If you pass in a string to the table class, it will render it as console markup -- which is similar in some ways to markdown. I think the way you constructed the styles has disabled the italics. If you want to stop Table from rendering console markup, you can use The |
Cheers. It's been at the back of my mind for years, every time I tried to do anything fancy in the console. Finally got round to it. |
I've got a table which I created like so:
If the
description
contains two underscores, such as in many Python function names, the underscores are removed.For example, in the following screenshot, the top line is the description string. The bottom line is the description as displayed in the table.
This doesn't happen if the description contains a single
_
. I was guessing it was trying to render it as Markdown or something, but I get the same issue when settingmarkup=False
when initialising theConsole
. 😄The text was updated successfully, but these errors were encountered: