X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/f3f96fd7c1bec0527de62415fd344e73994f1c47..a87c86a61b583e803e8c0237ed569fa4b3119e20:/syntax/mkd.vim?ds=sidebyside diff --git a/syntax/mkd.vim b/syntax/mkd.vim index c6ea381..eda1acf 100644 --- a/syntax/mkd.vim +++ b/syntax/mkd.vim @@ -68,6 +68,7 @@ syn match mkdListItem "^\s*[-*+]\s\+" syn match mkdListItem "^\s*\d\+\.\s\+" syn match mkdCode /^\s*\n\(\(\s\{4,}[^ ]\|\t\+[^\t]\).*\n\)\+/ syn match mkdLineBreak / \+$/ +syn region mkdFootnote start="\[^" end="\]" syn region mkdCode start=/\\\@/ end=/$/ contains=mkdLineBreak,mkdLineContinue,@Spell @@ -108,6 +109,7 @@ setlocal foldmethod=syntax "highlighting for Markdown groups HtmlHiLink mkdString String HtmlHiLink mkdCode String +HtmlHiLink mkdFootnote Comment HtmlHiLink mkdBlockquote Comment HtmlHiLink mkdLineContinue Comment HtmlHiLink mkdListItem Identifier