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