This package has been deprecated

Author message:

This package has been archived. MathJax v3 made mathjax-node and thus this extension obsolete.

mathjax-node-svg2png

2.0.0 • Public • Published

mathjax-node-svg2png Build Status

Greenkeeper badge

This module extends mathjax-node using svg2png.

It can be used as a drop-in replacement for mathjax-node.

Use

npm install mathjax-node-svg2png

to install mathjax-node-svg2png and its dependencies.

Use

This module is used like mathjax-node, extending the input data object with new options

png: true               // enable PNG generation
scale: 1                // scaling factor to apply during conversion

Similarly, mathjax-node's result object is extended with new keys png (containing the resulting data-uri string) and pngWidth (PNG width in pixel).

png:                   // PNG results
pngWidth:              // width (in pixel)

Package Sidebar

Install

npm i mathjax-node-svg2png

Weekly Downloads

49

Version

2.0.0

License

MIT

Unpacked Size

8.1 kB

Total Files

9

Last publish

Collaborators

  • pkra