-
Notifications
You must be signed in to change notification settings - Fork 7
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
Support full extended syntax #104
Conversation
Hey @tuurep I added the features that were still missing for full extended syntax support. Was super fast, the features were all added by just adding the respective plugins. I think the crux in reviewing is to check if you are okay with the stuff I wrote on the README🙈 EDIT And of course the highlight color might be a topic for u as well ^^ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah looks great!
Inspired by seeing a PR on the iamcco repo adding the same plugin: iamcco/markdown-preview.nvim#684 The color used in the screenshots there looks really good, and I think we could at least use the same one for light theme, and a similar for dark What we currently have: This is very crude and I don't like it :D Do you agree? However, in that PR they pretty much only added this same plugin, so I'll have to look at where the color is set, as it seems it didn't come by default with the plugin |
Fun fact/quirk: Opening a new tab on a header anchor
This doesn't really matter to me but something I noticed as well.. it clears when clicking on the page Edit: Since I wasn't too sure, I went to double check with the current main branch. It did happen before this as well. |
Yes, definitely! I think the PR that you referenced didn't commit everything they had to get to that screenshot (the code also has a typo and wouldn't compile). Maybe they just added some opacity to the plain yellow? |
I also notice that in light theme it's the exact same color that Github has as background color in this: So for light theme I think this is a good choice, it's For the dark theme I'm not so sure. Do you have ideas? Yellows that are dark enough look pretty much brown Unless we flip the foreground: Could be a different color too I guess, e.g.: |
Hmm, it's pretty good Since I imagine it's common to mark entire paragraphs and such with For light theme that actually looks great, here's the github mention color for comparison: This looks ok, too. But I might even slightly prefer yours. For dark theme... Ouch I think it stands out too much 😄 Do you agree however? Also a very subtle thing: the mark fg color is |
Ah nice, good idea about the paragraph. I also like the I was also trying out some shades of purple and blue from my color scheme which I personally really like for the marks but I was wondering if this wouldn't be too far from the conventional yellow. What do you think? |
Finding it pretty impossible to find a yellow bg for dark which looks good to me, yeah I think blue/purple is a good idea and conveys the meaning just fine as well |
c047b0f
to
9eebc9e
Compare
Ok! We can keep yellow for both, I would say the 0.8 opacity is an improvement on dark, but would prefer 1.0 on light (the original #ffffaf).
Knowing myself I could tweak colors til the end of time so I do try to avoid bikeshedding but I think there was a need on this one :D Hopefully the Github Alert colors will be easy on us |
9eebc9e
to
673990f
Compare
Close #87