Merge pull request #1822 from trinketapp/master
Allow arbitrary language names in gfm fenced blocks
This commit is contained in:
commit
a87b9e4dbc
1 changed files with 1 additions and 1 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue