Skip to content
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

Inline code block is not readable when using GitHub Dark High Contrast theme #380

Open
babakfp opened this issue Jan 23, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@babakfp
Copy link

babakfp commented Jan 23, 2024

Description

Hi

This is the markdown preview:

image

and it is the result of this markdown content:

image

I can confirm that this happens when all extensions (other than this one) are disabled.

Steps to reproduce

Just switch to the GitHub Dark High Contrast theme and preview a markdown content in vsCode.

Version

v6.3.4

Theme

GitHub Dark High Contrast

@babakfp babakfp added the bug Something isn't working label Jan 23, 2024
@haidoph
Copy link

haidoph commented Jan 26, 2024

What type of font is used?

tks

@luctowers
Copy link

this is also the case for me

@luctowers
Copy link

Adding this to settings.json works as a hack.

"workbench.colorCustomizations": {
    "textPreformat.foreground": "#000000"
}

@babakfp
Copy link
Author

babakfp commented Jan 29, 2024

What type of font is used?

tks

https://www.jetbrains.com/lp/mono/

@babakfp
Copy link
Author

babakfp commented Jan 29, 2024

Adding this to settings.json works as a hack.

"workbench.colorCustomizations": {
    "textPreformat.foreground": "#000000"
}

Awesome, thank you. I changed your code to this:

"workbench.colorCustomizations": {
    "textPreformat.background": "#3d3d3d"
},

and this is the result:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants