RST: add code-block to injections (#1677)

This isn't part of the rst spec,
but it's common enough on third party libs (sphinx specially).
This commit is contained in:
Santos Gallegos 2021-08-08 11:16:11 -05:00 committed by Stephan Seitz
parent 7973eb8a61
commit 576f14d2ee

View file

@ -28,7 +28,7 @@
((directive
name: (type) @_type
body: (body (arguments) @language (content) @content))
(#eq? @_type "code"))
(#any-of? @_type "code" "code-block"))
((directive
name: (type) @_type