diff options
| -rw-r--r-- | queries/markdown_inline/highlights.scm | 36 |
1 files changed, 30 insertions, 6 deletions
diff --git a/queries/markdown_inline/highlights.scm b/queries/markdown_inline/highlights.scm index 495e6f1a..cb50656f 100644 --- a/queries/markdown_inline/highlights.scm +++ b/queries/markdown_inline/highlights.scm @@ -48,11 +48,10 @@ "[" "]" "(" - (link_destination) + (link_destination) ")" -] @conceal -(#set! conceal "")) - + ] @conceal + (#set! conceal "")) ; Conceal image links (image @@ -61,7 +60,32 @@ "[" "]" "(" - (link_destination) + (link_destination) ")" -] @conceal + ] @conceal + (#set! conceal "")) + +; Conceal full reference links +(full_reference_link + [ + "[" + "]" + (link_label) + ] @conceal + (#set! conceal "")) + +; Conceal collapsed reference links +(collapsed_reference_link + [ + "[" + "]" + ] @conceal + (#set! conceal "")) + +; Conceal shortcut links +(shortcut_link + [ + "[" + "]" + ] @conceal (#set! conceal "")) |
