1.0.1 • Published 6 years ago

jsreport-html-embedded-in-docx-landscape v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

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"
  }
})