Timothy DeHerrera
8c54882118
feat(highlight): add markdown syntax highlighting with injection
Add tree-sitter-md for markdown parsing with injection support for
fenced code blocks. Code inside markdown code fences (```rust, ```bash,
etc.) is now fully syntax highlighted.
Key fix: Use `#set! injection.include-children` directive in the
injection query to override tree-sitter-md's internal tokenization
of code_fence_content, allowing proper language injection.
- Add tree-sitter-md v0.5.2 dependency
- Add Markdown variant to Language enum (md, markdown aliases)
- Create queries/md-highlights.scm (minimal markdown highlights)
- Create queries/md-injections.scm (with include-children directive)
- Add test: test_markdown_injection_rust
2026-01-31 16:41:11 -07:00
..
2026-01-31 15:26:22 -07:00
2026-01-31 15:10:39 -07:00
2026-01-24 21:07:56 -07:00
2026-01-31 15:58:37 -07:00
2026-01-31 13:59:05 -07:00
2026-01-31 16:41:11 -07:00
2026-01-31 16:14:04 -07:00
2026-01-28 20:16:25 -07:00
2026-01-28 20:36:45 -07:00
2026-01-28 20:36:45 -07:00
2026-01-31 15:58:37 -07:00