Skip to content
Browse files

fix fenced code blocks for markdown

  • Loading branch information...
1 parent cd542d9 commit a4d3d387c9a929536b4bd53b774a7a4aec3e005e @holman committed Nov 14, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 vim/vim.symlink/syntax/markdown.vim
View
1 vim/vim.symlink/syntax/markdown.vim
@@ -67,6 +67,7 @@ syntax match mkdCode /^\s*\n\(\(\s\{4,}[^ ]\|\t\+[^\t]\).*\n\)\+/
syntax match mkdLineBreak / \+$/
syntax region mkdCode start=/\\\@<!`/ end=/\\\@<!`/
syntax region mkdCode start=/\s*``[^`]*/ end=/[^`]*``\s*/
+syntax region mkdCode start=/\s*```[^`]*/ end=/[^`]*```\s*/
syntax region mkdBlockquote start=/^\s*>/ end=/$/ contains=mkdLineBreak,mkdLineContinue,@Spell
syntax region mkdCode start="<pre[^>]*>" end="</pre>"
syntax region mkdCode start="<code[^>]*>" end="</code>"

0 comments on commit a4d3d38

Please sign in to comment.
Something went wrong with that request. Please try again.