Permalink
Browse files

Add highlighting for GitHub style code blocks

  • Loading branch information...
1 parent 34e28b3 commit 8f7b69b52e317504c390607042da34841190d075 @tpope tpope committed Aug 26, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 syntax/markdown.vim
View
@@ -66,6 +66,7 @@ syn region markdownBoldItalic start="\S\@<=\*\*\*\|\*\*\*\S\@=" end="\S\@<=\*\*\
syn region markdownBoldItalic start="\S\@<=___\|___\S\@=" end="\S\@<=___\|___\S\@=" keepend contains=markdownLineStart
syn region markdownCode matchgroup=markdownCodeDelimiter start="`" end="`" keepend contains=markdownLineStart
syn region markdownCode matchgroup=markdownCodeDelimiter start="`` \=" end=" \=``" keepend contains=markdownLineStart
+syn region markdownCode matchgroup=markdownCodeDelimiter start="^\s*\zs```\w*\ze\s*$" end="^```\ze\s*$" keepend
syn match markdownEscape "\\[][\\`*_{}()#+.!-]"

0 comments on commit 8f7b69b

Please sign in to comment.