Replies: 1 comment 1 reply
-
Added this here: e174f52 You can set a In this case would look something like: require('render-markdown').setup({
checkbox = {
scope_priority = 5,
},
}) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
My question here is focused on #518.
Is it possible to expose the
priority
for ascope_highlight
as configurable in the setup config?For example consider this config for the checkbox:
Then assume I have this highlight set. I just want to make the task line italic and the normal text a dark grey. This allows the unchecked tasks to pop and are much easier to see in the window.
The problem is the entire line is affected and it's all that dark grey color. If we are able to set the
priority
of thescope_highlight
to a low value, any inline code, tags, links, highlights, etc on the task line should render with their respective highlights and only the normal text would be greyed and italicized. Or, one can set it to a highpriority
so those inline elements aren't highlighted (which is the case today).Beta Was this translation helpful? Give feedback.
All reactions