X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/917624e16c47de87c2adcacd08bc9472f718ec12..67ccef9f3e32d56b9d63e2ac55527af760a4e109:/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="\\\@