add markdown injection in yaml for documentation block nodes
This commit is contained in:
@@ -6,6 +6,14 @@
|
|||||||
(#set! injection.language "sql")
|
(#set! injection.language "sql")
|
||||||
(#offset! @injection.content 0 1 0 0)))
|
(#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
|
(block_mapping_pair
|
||||||
key: (flow_node) @_run
|
key: (flow_node) @_run
|
||||||
(#any-of? @_run "query")
|
(#any-of? @_run "query")
|
||||||
|
|||||||
Reference in New Issue
Block a user