Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix fenced code blocks for markdown

  • Loading branch information...
commit a4d3d387c9a929536b4bd53b774a7a4aec3e005e 1 parent cd542d9
Zach Holman authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  vim/vim.symlink/syntax/markdown.vim
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>"
Please sign in to comment.
Something went wrong with that request. Please try again.