X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/e6961592519b5e89307aeae07fa648599aa6a490..e4ba18e1fb1f540307565b0d4a64b4dddd03d561:/syntax/markdown.vim diff --git a/syntax/markdown.vim b/syntax/markdown.vim index 035199b..7244cb5 100644 --- a/syntax/markdown.vim +++ b/syntax/markdown.vim @@ -75,6 +75,8 @@ syn region mkdCode start=/\s*``[^`]*/ end=/[^`]*``\s*/ syn region mkdCode start=/^\s*```\s*[0-9A-Za-z_+-]*\s*$/ end=/^\s*```\s*$/ syn region mkdCode start=/\s*\~\~[^\~]*/ end=/[^\~]*\~\~\s*/ syn region mkdCode start=/^\s*\~\~\~\s*[0-9A-Za-z_+-]*\s*$/ end=/^\s*\~\~\~\s*$/ +syn match mkdCodeStart /^```\w*$/ +syn match mkdCodeEnd /^```$/ syn region mkdCode start="]*>" end="" syn region mkdCode start="]*>" end="" syn region mkdFootnote start="\[^" end="\]" @@ -110,7 +112,7 @@ if get(g:, 'vim_markdown_math', 0) syn region mkdMath matchgroup=mkdDelimiter start="\\\@