-
Notifications
You must be signed in to change notification settings - Fork 2
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
Compatibility with Night Owl VS Code theme #1
Comments
I agree. I also like to have inline markup fully highlighted, instead of just the wrapping tokens. Headers are highlighted though. That might be theme related. Maybe it’s best to keep the token names as close to the VSCode markdown grammar as possible? (Assuming that one is the most widely used) Also I like the highlighted list item markers. |
Hey Kent! :) Thanks for the detailed report. And for the reference screenshots! Important to know, is that the goal of this project is broad: to work in GitHub and in VS Code and in other places. Every tool and every theme will select different things and choose how to show them. So it’s always going to be different. Here’s what I get with VS Code Solarized: So several things do work there, such as headings! HeadingsAnd that’s where we find a very important bug in Night Owl:
Looking at almost all scopes in Night Owl, they are super specific. Specific to JS, or to JSX, or to markdown. So that’s where a lot of the problems come from! Inline code
I think this is a weird choice in VS Code themes to go with ListsYep, the markers will typically be highlighted. Also the digits in ordered lists. Emphasis (italics), strong (bold)This is going to be a whole discussion, so I’ll open a separate issue for this! I think the main take away here is that there’s a bug in Night Owl, it strictly specifies that only several scopes provided by |
VS Code uses `markup.inline.raw`, which is weird (`markup.raw.inline` or so makes more sense), but oh well. Related-to: GH-1.
Thanks! I know it can be frustrating to have to triage issues that turn out not to be relevant for your own project, so thank you for taking the time to help me with my problem. I've opened an issue on Night Owl: sdras/night-owl-vscode-theme#319 |
No problem, thanks for raising an issue! |
Originally reported by @kentcdodds at mdx-js/mdx-analyzer#318
Steps to reproduce
Install the latest version of vscode-mdx
Open a markdown file with some markdown, even simple markdown will do. Here are some examples:
Expected behavior
Things like headings, strong, italics, and inline code blocks should be highlighted.
Actual behavior
The colors are either non-existent or different from what I was used to before. The components look great though 👍
I'm using Night Owl, but these behaviors show up in others as well. I guess what I would really like is if my MDX highlighting looked as close to the regular markdown highlighting as possible.
Here's what the examples above look like with regular markdown highlighting in Night Owl:
(Yeah, MDX does better on this one for sure)
This could just be a case of "someone moved my cheese," but I do think there could be something wrong with the highlighting of the headings, strong, italics, and text in the back-tics.
Thanks!
The text was updated successfully, but these errors were encountered: