jsreport-html-to-markdown

1.0.9 • Public • Published

jsreport-html-to-text

jsreport recipe transforming html to text using node package html-to-text. See the docs https://jsreport.net/learn/html-to-text

Installation

npm install jsreport-html-to-text

Usage

To use recipe in for template rendering set template.recipe=html-to-text in the rendering request.

{
  template: { content: '...', recipe: 'html-to-text', engine: '...' }
}

jsreport-core

You can apply this extension also manually to jsreport-core

var jsreport = require('jsreport-core')()
jsreport.use(require('jsreport-html-to-text')())

/jsreport-html-to-markdown/

    Package Sidebar

    Install

    npm i jsreport-html-to-markdown

    Weekly Downloads

    3

    Version

    1.0.9

    License

    MIT

    Unpacked Size

    36.1 kB

    Total Files

    12

    Last publish

    Collaborators

    • o2adev