X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/917624e16c47de87c2adcacd08bc9472f718ec12..9893e1c01d0129e063589872128051e91abf4f7e:/syntax/markdown.vim?ds=inline 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="\\\@