ttscoff/mdless

[help] How to force default color to be white rather than gray

avatar-lavventura opened this issue · 8 comments

I want to force to see the default color of text under all headers' as white. But some of them represented as light-gray (not sure bold white's color may changed as gray). How can I make them represented as white?

When I connect into my remote node using ssh, example view of mdless FILE.md:

image

This does not happen when I open the same file using terminal inside the Ubuntu GUI, where it shown as white.

After double checking it happens in my Terminal (iTerm2) as well, hence it shouldn't be over ssh. Also I am using dracula theme (https://github.com/dracula/iterm), with following color setup:

image

The "Foreground" color is what's going to show up as the default text in mdless. If you changed that to white and you'd get the results you're looking for.

I have changed Foreground color into white but it didn't make any change, seems like the issue is related to something else :-(

How can I unreset 0m to test it?

I have following setup not sure might help:

export LESS_TERMCAP_mb=$'\E[6m'        # begin blinking
export LESS_TERMCAP_md=$'\E[34m'       # begin bold
export LESS_TERMCAP_us=$'\E[4;32m'     # begin underline
export LESS_TERMCAP_me=$'\E[0m'        # end mode
export LESS_TERMCAP_ue=$'\E[0m'        # end underline
export LESS_TERMCAP_se=$'\E[0m'        # end standout-mode
export LESS_TERMCAP_so=$'\E[1;33;33m'  # begin standout-mode - info box