marked-renderer-pdf-browser
A prepared build of marked-renderer-pdf for generating PDFs from markdown in browser.
This package is generated as part of CI/CD of marked-renderer-pdf.
License
MIT
Installation
npm install marked-renderer-pdf-browser
Usage
When using WebPack the converter may be imported using
;
In addition the script may be injected using <script>
-tag:
This will expose the converter in global variable MarkdownToPDF
.
In either case you may use the converter like this:
MarkdownToPDF ;