X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/028e1faf98a73d8a39939aebdb1c25ba0ef0447a..091091fdf8f1f7f42bf1a183eab100f923928841:/syntax/mkd.vim?ds=inline diff --git a/syntax/mkd.vim b/syntax/mkd.vim index 4dc8a49..60a675d 100644 --- a/syntax/mkd.vim +++ b/syntax/mkd.vim @@ -2,8 +2,6 @@ " Language: Markdown " Maintainer: Ben Williams " URL: http://plasticboy.com/markdown-vim-mode/ -" Version: 9 -" Last Change: 2009 May 18 " Remark: Uses HTML syntax file " TODO: Handle stuff contained within stuff (e.g. headings within blockquotes) @@ -72,6 +70,8 @@ syn region mkdBlockquote start=/^\s*>/ end=/$/ contains=mkdL syn region mkdCode start=/\(\([^\\]\|^\)\\\)\@]*>" end="" syn region mkdCode start="]*>" end="" syn region mkdFootnote start="\[^" end="\]" @@ -107,7 +107,7 @@ if get(g:, 'vim_markdown_frontmatter', 0) syn region Comment matchgroup=mkdDelimiter start="\%^---$" end="^---$" contains=@yamlTop endif -syn cluster mkdNonListItem contains=htmlItalic,htmlBold,htmlBoldItalic,mkdFootnotes,mkdID,mkdURL,mkdInlineURL,mkdLink,mkdLinkDef,mkdLineBreak,mkdBlockquote,mkdCode,mkdIndentCode,mkdListItem,mkdRule,htmlH1,htmlH2,htmlH3,htmlH4,htmlH5,htmlH6,mkdMath +syn cluster mkdNonListItem contains=htmlItalic,htmlBold,htmlBoldItalic,mkdFootnotes,mkdInlineURL,mkdLink,mkdLinkDef,mkdLineBreak,mkdBlockquote,mkdCode,mkdIndentCode,mkdListItem,mkdRule,htmlH1,htmlH2,htmlH3,htmlH4,htmlH5,htmlH6,mkdMath "highlighting for Markdown groups HtmlHiLink mkdString String