You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## Details
Request: #544
Allows setting custom inline highlight groups to use for the associated
text body based on matching a configured prefix. When a matching prefix
is found it is also hidden since it adds only metadata. For example the
following will apply a red background to inline highlight text that
starts with an exclamation mark:
```lua
vim.api.nvim_set_hl(0, 'Red', { bg = '#ff0000' })
require('render-markdown').setup({
inline_highlight = {
custom = {
important = { prefix = '!', highlight = 'Red' },
},
},
})
```
No defaults are setup for this out of the box for the time being, it
simply allows users to set their own values, this may change.
0 commit comments