tpope / vim-markdown

Vim Markdown runtime files
1.23k stars 191 forks source link

Separate highlight groups for each heading level #123

Closed ajgrf closed 7 years ago

ajgrf commented 7 years ago

I want to style markdown files similar to how Leuven styles org-mode files (see here), so that each heading level has a different background color.

I don't think I can quite accomplish this with the existing syntax files, because the delimiters won't match the rest of the heading. If markdownHeadingDelimiter were split into markdownH1Delimiter, markdownH2Delimiter, etc. then I could do what I want. They could then be linked to markdownHeadingDelimiter for backwards compatibility if needed.