improve markdown rendering
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
local M = {}
|
||||
|
||||
function M.setup(colors, config)
|
||||
local accent = colors[config.accent]
|
||||
|
||||
return {
|
||||
RenderMarkdownCode = { bg = accent.darkest },
|
||||
RenderMarkdownCodeBorder = { fg = colors.magenta.light, bg = colors.magenta.darker },
|
||||
RenderMarkdownCodeFallback = { fg = colors.fg },
|
||||
RenderMarkdownCodeInline = { fg = colors.magenta.light, bg = colors.magenta.darker },
|
||||
RenderMarkdownInlineHighlight = { fg = colors.yellow.light, bg = colors.yellow.darker }
|
||||
}
|
||||
end
|
||||
|
||||
return M
|
||||
Reference in New Issue
Block a user