From c958b5cb37944ef5b5ee3fa49bfd0cb864ff40f1 Mon Sep 17 00:00:00 2001 From: rebornix Date: Mon, 20 Jun 2016 17:42:20 +0800 Subject: [PATCH] Fix #6113 --- .../markdown/syntaxes/markdown.tmLanguage | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/extensions/markdown/syntaxes/markdown.tmLanguage b/extensions/markdown/syntaxes/markdown.tmLanguage index cd2abcff2dc..9a41ee6464e 100644 --- a/extensions/markdown/syntaxes/markdown.tmLanguage +++ b/extensions/markdown/syntaxes/markdown.tmLanguage @@ -82,6 +82,10 @@ include #fenced_code_block_ruby + + include + #fenced_code_block_php + include #fenced_code_block_sql @@ -658,6 +662,22 @@ + fenced_code_block_php + + begin + (^|\G)\s*([`~]{3,})\s*(php|php3|php4|php5|phpt|phtml|aw|ctp)\s*$ + name + markup.fenced_code.block.markdown + end + (^|\G)(\2)\n + patterns + + + include + text.html.php + + + fenced_code_block_sql begin