dracula.nvim
dracula.nvim copied to clipboard
Change color of markdown headlines
Is it possible to make it so that each headline has its own color, similar to e.g. catppuccin?
Dracula:
Catppuccin
This doesn't seem to be in the Dracula spec: https://spec.draculatheme.com/#sec-Markup-Markdown-RST-etc-
Though you can customize the colors yourself, by doing something like:
{
"Mofiqul/dracula.nvim",
priority = 1000,
config = function()
local dracula = require("dracula")
dracula.setup({
overrides = {
["@markup.heading.2"] = { fg = dracula.colors().purple },
["@markup.heading.3"] = { fg = dracula.colors().yellow },
},
})
vim.cmd.colorscheme("dracula")
end,
},
Note: before https://github.com/Mofiqul/dracula.nvim/issues/122 is fixed, you should swap @markup.heading
with @text.title
@magnuslarsen @nshern - Even though this can be archives through config, having it in the color scheme would be great. I will have it done when I am free