allow markdown code blocks without a tag

This commit is contained in:
nightwing 2012-10-06 19:16:15 +04:00
commit 093940f151

View file

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