metalsmith-markdown
Advanced tools
Comparing version 0.1.0 to 0.2.0
0.2.0 - February 5, 2013 | ||
------------------------ | ||
* update to use buffers for metalsmith 0.1.0 | ||
0.1.0 - February 5, 2013 | ||
@@ -3,0 +7,0 @@ ------------------------ |
@@ -23,4 +23,3 @@ | ||
options = options || {}; | ||
var keys = options.keys || ['body']; | ||
if (!~keys.indexOf('body')) keys.push('body'); | ||
var keys = options.keys || []; | ||
@@ -36,2 +35,5 @@ return function(files, metalsmith, done){ | ||
var str = marked(data.contents.toString(), options); | ||
data.contents = new Buffer(str); | ||
keys.forEach(function(key) { | ||
@@ -38,0 +40,0 @@ data[key] = marked(data[key], options); |
@@ -5,3 +5,3 @@ { | ||
"repository": "git://github.com/segmentio/metalsmith-markdown.git", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"license": "MIT", | ||
@@ -14,5 +14,5 @@ "main": "lib/index.js", | ||
"mocha": "1.x", | ||
"metalsmith": "0.0.0", | ||
"assert-dir-equal": "0.0.1" | ||
"metalsmith": "0.x", | ||
"assert-dir-equal": "0.x" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4070
72