Closed ziboh closed 1 month ago
One thing is that based on your checkhealth
I believe you're running an older version of the plugin. I don't think updating it will fix the problem, but can you still update to the latest version. Just so the next things I say are true, since highlight groups have been updated somewhat recently.
There is an option under code -> highlight_inline
where you can define the highlight group used for inline code blocks. It's not specific to headings, but it does let you use a different value for inline code in general. I would recommend using one that works in both contexts, inside and outside of headings.
Unfortunately having separate logic to let you define a highlight specifically in the context of headings would be difficult, since the markdown_inline
parser is separate from the block markdown
parser and getting information between the 2 is difficult. Like when I'm processing an inline code block node I can't call the parent
function on it until I get to a heading or some other block node type. The tree cuts off at the start of the inline node :(
Neovim version (nvim -v)
0.10.1
Operating system
Windows
Terminal emulator / GUI
Wezterm
Describe the bug
When I'm renders a
Inline code
in Headings component,The Inline code cannot be seen.Expected behavior
The
Inline code
displays correctlyHealthcheck output
Plugin configuration
Confirmations
Additional information
I think each
Inline code
in Headings component should be assigned to a separate highlight group.