| 1 | ; Parse general comment tags |
| 2 | |
| 3 | ((document) @injection.content |
| 4 | (#set! injection.include-children) |
| 5 | (#set! injection.language "comment")) |
| 6 | |
| 7 | ; Fenced code blocks inside doc comments (e.g. ```js in @example): highlight |
| 8 | ; the body with the language named in the fence. |
| 9 | ((code_block |
| 10 | (code_block_language) @injection.language |
| 11 | (code_block_line) @injection.content) |
| 12 | (#set! injection.combined)) |