ttscoff / mdless

MIT License
871 stars 39 forks source link

extra red on black blocks in mdless output on RHEL 7.9 #67

Closed atsaloli closed 3 years ago

atsaloli commented 3 years ago

Hello,

I just switched to a RHEL 7.9 system and now mdless output includes extra red on black blocks after headers and in code blocks:

image

Any ideas what might be wrong and how to fix it, please?

RHEL 7.9 is a customer requirement, not my choice necessarily; in other words, I'm stuck with it.

atsaloli commented 3 years ago

Of course, I don't have anything like that in my markdown source code.

Here it is (vim "set list" enabled to show special chars such as end of line):

image

atsaloli commented 3 years ago

This only happens when I run mdless in vim using the Vim Terminal facility.

This doesn't happen when I run mdless on the command line.

My vimrc has something ilke:

:autocmd BufRead *.md :term++curwin mdless %:p
ttscoff commented 3 years ago

No idea what's going on here. I tested your command in Vim on my Mac and got the correct results. I'm not a vim expert, though, and really have no idea where to look for this issue.

atsaloli commented 3 years ago

No worries. I ended up not using the Vim Terminal, just used the shell directly.