From a6bb045d8a5a09e35400cba0514ca0a8f79128fa Mon Sep 17 00:00:00 2001 From: Alex Beal Date: Wed, 14 Mar 2012 17:02:20 -0600 Subject: [PATCH 1/1] Added a rule that covers "Github Flavored Markdown" (GFM) code blocks GFM takes three back ticks to start a code block. It can be followed with a word specifying the language. It then ends with three back ticks. http://github.github.com/github-flavored-markdown/ --- syntax/mkd.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/syntax/mkd.vim b/syntax/mkd.vim index c6ea381..51f891b 100644 --- a/syntax/mkd.vim +++ b/syntax/mkd.vim @@ -70,6 +70,7 @@ syn match mkdCode /^\s*\n\(\(\s\{4,}[^ ]\|\t\+[^\t]\).*\n\)\+/ syn match mkdLineBreak / \+$/ syn region mkdCode start=/\\\@/ end=/$/ contains=mkdLineBreak,mkdLineContinue,@Spell syn region mkdCode start="]*>" end="" syn region mkdCode start="]*>" end="" -- 2.39.5