highlight of latex equation #441
Replies: 2 comments 3 replies
-
The highlight group used for latex outputs is You can set this highlight group to whatever value you like, for example one with a background, and that's how the formulas will get shown. Add something like this somewhere in your config: vim.api.nvim_set_hl(0, 'RenderMarkdownMath', {
fg = '#000000', -- black foreground
bg = '#FF0000', -- red background
}) I did push a small change to make the backgrounds line up nicer: a212596 |
Beta Was this translation helpful? Give feedback.
-
Out of curiosity what converter are you using to generate the formulas? Is it |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone, Thanks for building render-markdown. I have a feature request or might be that I lack the knowledge on how to do it.
Recently I started writing latex in my notes. I find that some indication is missing. There is preview of the equation but it doesn't feel that way.
It would be helpful to have some background similar to code block for equation preview.
Beta Was this translation helpful? Give feedback.
All reactions