Merge pull request #1822 from trinketapp/master

Allow arbitrary language names in gfm fenced blocks
This commit is contained in:
Harutyun Amirjanyan 2014-02-18 13:24:40 +04:00
commit a87b9e4dbc

View file

@ -79,7 +79,7 @@ var MarkdownHighlightRules = function() {
github_embed("css", "csscode-"),
{ // Github style block
token : "support.function",
regex : "^```\\s*[a-zA-Z]*(?:{.*?\\})?\\s*$",
regex : "^```\\s*\S*(?:{.*?\\})?\\s*$",
next : "githubblock"
}, { // block quote
token : "string.blockquote",