More permissive code block labels. Fixes #600

This commit is contained in:
benweet 2014-11-02 16:17:48 +00:00
parent 394209c4e5
commit 1cc2363f0e
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@
"stacktrace": "~0.6.2",
"requirejs-text": "~2.0.10",
"bootstrap-tour": "~0.7.1",
"pagedown-extra": "https://github.com/jmcmanus/pagedown-extra.git#4484dd6696c82f1880b264bd610947f6f1cbdfb6",
"pagedown-extra": "https://github.com/jmcmanus/pagedown-extra.git#ea782c3d11eb78f57d00aa819527338996a70721",
"crel": "https://github.com/KoryNunn/crel.git#8dbda04b129fc0aec01a2a080d1cab26816e11c1",
"waitForImages": "https://github.com/alexanderdickson/waitForImages.git#~1.4.2",
"to-markdown": "https://github.com/benweet/to-markdown.git#jquery",

View File

@ -24,7 +24,7 @@ define([
if(_.some(markdownExtra.config.extensions, function(extension) {
return extension == "fenced_code_gfm";
})) {
regexp = '^```.*\\n[\\s\\S]*?\\n```|' + regexp; // Fenced block delimiters
regexp = '^```[^`\\n]*\\n[\\s\\S]*?\\n```|' + regexp; // Fenced block delimiters
}
}
if(mathJax.enabled) {