Comparing version 0.2.17 to 0.2.18
@@ -736,3 +736,3 @@ /** | ||
var blocks = []; | ||
function blockSplit(regExpStart, regExpEnd) { | ||
@@ -778,3 +778,6 @@ var blocks = []; | ||
if (blocks > 0) { | ||
blocks = blocks.map(function (block) { | ||
block = hljs.highlightAuto(block).value; | ||
return block; | ||
}); | ||
} | ||
@@ -800,3 +803,3 @@ else { | ||
+ '>' | ||
+ blocks.join("\n") | ||
+ (options.preHighlightOriginals ? blocks.join("\n") : escape(token.text)) | ||
+ '</code>\n<code' | ||
@@ -1047,3 +1050,4 @@ + (token.lang | ||
preHighlight: true, | ||
highlight: null | ||
preHighlightOriginals: false, | ||
highlight: null, | ||
}); | ||
@@ -1050,0 +1054,0 @@ |
{ | ||
"name" : "namp", | ||
"version" : "0.2.17", | ||
"version" : "0.2.18", | ||
"description" : "Markdown parser for Node, with Maruku, GFM, and PHP Extras support, plus more. Based on marked.", | ||
@@ -5,0 +5,0 @@ "keywords" : [ "markdown", "maruku", "gfm", "text processing", "ast" ], |
Sorry, the diff of this file is not supported yet
1207
266511