Skip to content

A wrapper around mathjax-node integrating svg2png

Notifications You must be signed in to change notification settings

935924279/mathjax-node-svg2png

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

A wrapper around mathjax-node integrating svg2png

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%