Conceal markdown links

This commit is contained in:
Jonathan Lopez 2022-06-09 10:32:05 -04:00 committed by Stephan Seitz
parent d4ca4eb234
commit 778bfc337a

View file

@ -88,3 +88,25 @@
(inline_link
"[" @conceal
(#set! conceal ""))
;; Conceal @text.uri preceding '('
([
(link_label)
(link_text)
(image_description)
] ["("] @conceal
(#set! conceal ""))
;; Conceal @text.uri text
([
(link_destination)
(uri_autolink)
] @conceal
(#set! conceal ""))
;; Conceal @text.uri proceding '('
([
(link_destination)
(uri_autolink)
] [")"] @conceal
(#set! conceal ""))