Comparing version 0.1.4 to 0.1.5
@@ -11,12 +11,4 @@ var sys = require('sys'), | ||
S = require('string'), | ||
Remarkable = require('remarkable'), | ||
md = new Remarkable('commonmark'); | ||
kramed = require('kramed'); | ||
md.set({ | ||
html: true, | ||
breaks: true, | ||
linkify: false, | ||
langPrefix: 'lang-', | ||
}); | ||
var markdown_headers = ['h1','h2','h3','h4','h5','h6'], | ||
@@ -123,3 +115,3 @@ htmlbook_headers = ['h1','h1','h2','h3','h4','h5'], | ||
var parser = new htmlparser.Parser(handler); | ||
parser.write(md.render(this.input)); | ||
parser.write(kramed(this.input)); | ||
parser.end(); | ||
@@ -217,2 +209,2 @@ | ||
module.exports = function (str) {return new HTMLBook(str)}; | ||
}).call(this); | ||
}).call(this); |
{ | ||
"name": "htmlbook", | ||
"version": "0.1.4", | ||
"version": "0.1.5", | ||
"description": "Markdown to HTMLBook converter", | ||
@@ -25,4 +25,4 @@ "main": "./htmlbook.js", | ||
"htmlparser2": "", | ||
"kramed": "^0.5.0", | ||
"optparse": "1.0.4", | ||
"remarkable": "^1.6.0", | ||
"string": "1.6.0", | ||
@@ -29,0 +29,0 @@ "underscore": "1.5.2" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
252522
8008
+ Addedkramed@^0.5.0
+ Addedkramed@0.5.6(transitive)
- Removedremarkable@^1.6.0
- Removedargparse@1.0.10(transitive)
- Removedautolinker@0.28.1(transitive)
- Removedconcat-with-sourcemaps@1.1.0(transitive)
- Removedcore-util-is@1.0.3(transitive)
- Removedgulp-header@1.8.12(transitive)
- Removedinherits@2.0.4(transitive)
- Removedisarray@1.0.0(transitive)
- Removedlodash._reinterpolate@3.0.0(transitive)
- Removedlodash.template@4.5.0(transitive)
- Removedlodash.templatesettings@4.2.0(transitive)
- Removedprocess-nextick-args@2.0.1(transitive)
- Removedreadable-stream@2.3.8(transitive)
- Removedremarkable@1.7.4(transitive)
- Removedsafe-buffer@5.1.2(transitive)
- Removedsource-map@0.6.1(transitive)
- Removedsprintf-js@1.0.3(transitive)
- Removedstring_decoder@1.1.1(transitive)
- Removedthrough2@2.0.5(transitive)
- Removedutil-deprecate@1.0.2(transitive)
- Removedxtend@4.0.2(transitive)