Notoriously Pedantic Magistrate

    jsreport-html-embedded-in-docx-landscape

    1.0.1 • Public • Published

    jsreport-html-embedded-in-docx

    NPM Version Build Status

    jsreport recipe which takes the output html and embed it into the docx file

    See the docs https://jsreport.net/learn/html-embedded-in-docx

    Installation

    npm install jsreport-html-embedded-in-docx

    jsreport-core

    You can apply this extension also manually to jsreport-core

    const jsreport = require('jsreport-core')()
    jsreport.use(require('jsreport-html-embedded-in-docx')())
     
    await jsreport.init()
    const response = await jsreport.render({
      template: {
        content: "<h1>Hello</h1>",
        recipe: "html-embedded-in-docx",
        engine: "none"
      }
    })

    Keywords

    Install

    npm i jsreport-html-embedded-in-docx-landscape

    DownloadsWeekly Downloads

    7

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    6.9 kB

    Total Files

    8

    Last publish

    Collaborators

    • alisalama