Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add match groups for each HTML heading level #662

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

superjamie
Copy link

The official Dracula Obsidian theme has different coloring for each heading level which looks quite nice.

Individual heading match groups also exist in Vim's default HTML syntax like markdownH1Delimiter.

However, vim-markdown cannot do this because it uses the one match group for all heading levels: mkdHeading.

So that themes can highlight each heading level separately on groups like htmlH1, add a match group for each heading level too.

The official Dracula Obsidian theme has different coloring for
each heading level which looks quite nice.

Individual heading match groups also exist in Vim's default HTML
syntax like `markdownH1Delimiter`.

However, vim-markdown cannot do this because it uses the one match
group for all heading levels: `mkdHeading`.

So that themes can highlight each heading level separately on groups
like `htmlH1`, add a match group for each heading level too.

Signed-off-by: Jamie Bainbridge <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant