add markdown injection in yaml for documentation block nodes

This commit is contained in:
Ivar Fatland
2025-10-30 10:27:48 +01:00
parent 56446f0638
commit 1be3a2a238
@@ -6,6 +6,14 @@
(#set! injection.language "sql")
(#offset! @injection.content 0 1 0 0)))
(block_mapping_pair
key: (flow_node) @_run
(#any-of? @_run "documentation")
value: (block_node
(block_scalar) @injection.content
(#set! injection.language "markdown")
(#offset! @injection.content 0 1 0 0)))
(block_mapping_pair
key: (flow_node) @_run
(#any-of? @_run "query")