mirror of
https://github.com/nvim-treesitter/nvim-treesitter
synced 2024-09-16 14:34:05 +02:00
feat(markdown): set url attribute on image links
This commit is contained in:
parent
9ac3931bf6
commit
95933209d4
1 changed files with 5 additions and 0 deletions
|
@ -45,6 +45,11 @@
|
|||
(link_destination) @_url
|
||||
(#set! @_label url @_url))
|
||||
|
||||
(image
|
||||
(image_description) @_label
|
||||
(link_destination) @_url
|
||||
(#set! @_label url @_url))
|
||||
|
||||
; Conceal image links
|
||||
(image
|
||||
[
|
||||
|
|
Loading…
Reference in a new issue