Simplify inline conceal

This commit is contained in:
Jonathan Lopez 2022-06-21 20:13:06 -04:00 committed by Stephan Seitz
parent 536f4294f6
commit 238532fe82

View file

@ -82,15 +82,10 @@
(#set! conceal "")) (#set! conceal ""))
;; Inline_link Conceal
; Conceal preceeding "[" character for inline links
(inline_link
"[" @conceal
(#set! conceal ""))
; Conceal inline links ; Conceal inline links
(inline_link (inline_link
[ [
"["
"]" "]"
"(" "("
(link_destination) (link_destination)
@ -99,15 +94,11 @@
(#set! conceal "")) (#set! conceal ""))
;; Image Conceal
; Conceal preceeding "!" and "[" characters for image links
(image
["!" "["] @conceal
(#set! conceal ""))
; Conceal image links ; Conceal image links
(image (image
[ [
"!"
"["
"]" "]"
"(" "("
(link_destination) (link_destination)