Changing the Markdown syntax highlighting? #6154
TomJGooding
started this conversation in
Ideas
Replies: 2 comments 2 replies
-
Of course I'm happy for any improvements to be made. But your comments are too subjective for me to make changes. Do you want to tackle it? Is a matter of matching token types with styles. See highlight.py |
Beta Was this translation helpful? Give feedback.
2 replies
-
In my opinion, i just hate underlines that serve no purpose any editor would just use normal, dim or bold text, with any colour i think something like what bat does would be nice |
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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
There's some parts of the syntax highlighting in
Markdown
code blocks which just look strange to me.For example, the bold highlighting of types makes them stand out a bit too much:
The underlined functions and highlighted variables also just looks wrong to me:
I built a small application just to compare the
Markdown
widget with other syntax highlighting in Textual/Rich:code_highlights.py
I do understand that unlike the
TextArea
widget, theMarkdown
code blocks have only a single theme which is limited to Textual's base theme colors.Would you be open to changing (or extending) the markdown theming so the syntax highlighting looks more consistent?
Alternatively, could the
Markdown
interface allow changing the code block highlighting?Beta Was this translation helpful? Give feedback.
All reactions