We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f02562 commit ce9a933Copy full SHA for ce9a933
syntax/pandoc.vim
@@ -239,7 +239,7 @@ else
239
syn region pandocReferenceURL matchgroup=Operator start=/\]\@1<=(/ end=/)/ keepend display
240
endif
241
" let's not consider "a [label] a" as a label, remove formatting - Note: breaks implicit links
242
-syn match pandocNoLabel /\]\@1<!\s\+\[[^\[\]]\{-}\]\s\+[\[(]\@!/ contains=pandocPCite
+syn match pandocNoLabel /\]\@1<!\(\s\+\|^\)\[[^\[\]]\{-}\]\(\s\+\|$\)[\[(]\@!/ contains=pandocPCite
243
syn match pandocLinkTip /\s*".\{-}"/ contained containedin=pandocReferenceURL contains=@Spell display
244
call s:WithConceal("image", 'syn match pandocImageIcon /!\[\@=/ display', 'conceal cchar='. s:cchars["image"])
245
" }}}
0 commit comments