ttscoff/mdless

empty character in codeblock doesn't work anymore

fdufnews opened this issue · 11 comments

mdless 2.1.24

In mdless.theme, empty character: in codeblock does not work anymore.
Empty character still displays the > at beginning of line
Changing character to say "+" or "" makes the block of code flashing.

works for me, are you including empty quotes?

I am now using 2.1.28
I tried either of empty quotes or nothing following character:
when I use empty quotes the > is not displayed but the codeblock blinks.
when I use nothing following character: the > is displayed

The code block blinks?

Yes it does from the first space to the end of the line
image

image

And this blinking doesn't happen if there's a character specified? That's so weird.

I made some more tests
It blinks when the character: is anything but ">" or nothing

Here is the theme I am using (renamed to .txt as Github forbid .theme extension).
mdless.txt

If I am right it is the default one apart from one or two value

I have tried some others theme files.
With some themes only the comments are blinking.

Found something !!!!!
There is a compatibility issue with Gnome Terminal.
I just found that there is an option in the gnome terminal that enables/disables blinking text. That option is enabled by default and when disabled I have no more problem whichever theme I use. Even the character: is working has expected.
It is the first time that I see blinking text in the terminal.
Maybe it is linked to some escape code sent by Pygments.
Definitively not a problem with mdless, I think.
Maybe you can close this issue.

Cool. Thanks for following up.