jsreport-html-to-markdown
Advanced tools
Comparing version 1.0.5 to 1.0.6
const turndown = require('turndown') | ||
const turndownPluginGfm = refquire('turndown-plugin-gfm') | ||
module.exports = async (inputs, callback, done) => { | ||
@@ -8,2 +8,4 @@ try { | ||
const converter = new turndown(inputs.convertOptions) | ||
const gfm = turndownPluginGfm.gfm | ||
converter.use(gfm) | ||
const markdownContent = converter.turndown(inputs.html) | ||
@@ -10,0 +12,0 @@ |
{ | ||
"name": "jsreport-html-to-markdown", | ||
"version": "1.0.5", | ||
"version": "1.0.6", | ||
"description": "jsreport recipe converting markdown into html", | ||
@@ -31,2 +31,3 @@ "main": "index.js", | ||
"turndown": "^7.0.0", | ||
"turndown-plugin-gfm": "^1.0.2", | ||
"node.extend.without.arrays": "1.1.6" | ||
@@ -33,0 +34,0 @@ }, |
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
36065
361
3
+ Addedturndown-plugin-gfm@^1.0.2
+ Addedturndown-plugin-gfm@1.0.2(transitive)