Unnamed repository; edit this file 'description' to name the repository.
1
2
3
4
5
6
7
8
9
10
11
12
; Parse general comment tags

((document) @injection.content
 (#set! injection.include-children)
 (#set! injection.language "comment"))

; Fenced code blocks inside doc comments (e.g. ```js in @example): highlight
; the body with the language named in the fence.
((code_block
   (code_block_language) @injection.language
   (code_block_line) @injection.content)
 (#set! injection.combined))