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

HTML injections in Markdown are ignored #1588

Open
1 task done
taw00 opened this issue Oct 24, 2024 · 0 comments · May be fixed by zed-industries/zed#20527
Open
1 task done

HTML injections in Markdown are ignored #1588

taw00 opened this issue Oct 24, 2024 · 0 comments · May be fixed by zed-industries/zed#20527
Labels
language A request to add a language extension

Comments

@taw00
Copy link

taw00 commented Oct 24, 2024

Check for existing issues

  • Completed

Language

Markdown

Tree Sitter parser link

No response

Language server link

No response

Misc notes

Zed syntax highlights barebones markdown just fine. However, any HTML within the document is not syntax-highlighted. I talked to folks on the tree-sitter side, and they said this is an injection issue in Zed's deployment of tree-sitter.

And so, my request: fully implement the markdown syntax highlighting for zed.
A person in tree-sitter chat sent me this link, if it is any help: https://github.com/tree-sitter-grammars/tree-sitter-markdown/blob/5cdc549ab8f461aff876c5be9741027189299cec/tree-sitter-markdown/queries/injections.scm#L6

Thanks. Love the editor. Cheers. -t
(see also some commentary here on language injection: #484

@taw00 taw00 added the language A request to add a language extension label Oct 24, 2024
@taw00 taw00 changed the title HTML injections in Markdown HTML injections in Markdown ignored Oct 25, 2024
@taw00 taw00 changed the title HTML injections in Markdown ignored HTML injections in Markdown are ignored Oct 25, 2024
@uncenter uncenter linked a pull request Nov 12, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
language A request to add a language extension
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant