Browse files

Closes #21.

  • Loading branch information...
1 parent 5d7eeb1 commit d96254eefee75f0b4d9a82d7b9e962b7dd935687 Ben Williams committed Nov 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 syntax/mkd.vim
@@ -45,7 +45,7 @@ syn region htmlBoldItalic start="\S\@<=___\|___\S\@=" end="\S\@<=___\|___\S\@="
" [link](URL) | [link][id] | [link][]
syn region mkdFootnotes matchgroup=mkdDelimiter start="\[^" end="\]"
-syn region mkdID matchgroup=mkdDelimiter start="\[" end="\]" oneline
+syn region mkdID matchgroup=mkdDelimiter start="\[" end="\]" contained oneline
syn region mkdURL matchgroup=mkdDelimiter start="(" end=")" contained oneline
syn region mkdLink matchgroup=mkdDelimiter start="\\\@<!\[" end="\]\ze\s*[[(]" contains=@Spell nextgroup=mkdURL,mkdID skipwhite oneline
" mkd inline links: protocol optional user:pass@ sub/domain .com,, etc optional port path/querystring/hash fragment

0 comments on commit d96254e

Please sign in to comment.