mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 19:00:02 -04: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
|
(link_destination) @_url
|
||||||
(#set! @_label url @_url))
|
(#set! @_label url @_url))
|
||||||
|
|
||||||
|
(image
|
||||||
|
(image_description) @_label
|
||||||
|
(link_destination) @_url
|
||||||
|
(#set! @_label url @_url))
|
||||||
|
|
||||||
; Conceal image links
|
; Conceal image links
|
||||||
(image
|
(image
|
||||||
[
|
[
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue