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

feature: "==" text highlighting. #188

Open
1 task
Dani-v-tue opened this issue Mar 9, 2025 · 0 comments
Open
1 task

feature: "==" text highlighting. #188

Dani-v-tue opened this issue Mar 9, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@Dani-v-tue
Copy link

Did you check the tree-sitter docs?

Is your feature request related to a problem? Please describe.

Many widely used markdown editors support using ==highlight text==. It would be nice if this was supported directly through tree-sitter-markdown

Describe the solution you'd like

Add an extension highlight group that captures ==text between double equal signs==.

Describe alternatives you've considered

It is possible to manually add it as a highlight group.

For my specific case obsidian.nvim has a feature for this, except it is buggy and the whole plugin is quite bloated.

Additional context

If people think this has merit I could attempt to create a PR for this, although I am quite inexperienced in writing tree-sitter grammars.

@Dani-v-tue Dani-v-tue added the enhancement New feature or request label Mar 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant