You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 7, 2020. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+7-3Lines changed: 7 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,8 +14,12 @@ to install mathjax-node-svg2png and its dependencies.
14
14
15
15
## Use
16
16
17
-
This module is used like mathjax-node, extending the input `data` object with a new option
17
+
This module is used like mathjax-node, extending the input `data` object with new options
18
18
19
-
png: false, // enable PNG generation
19
+
png: false // enable PNG generation
20
+
scale: 1 // scaling factor to apply during conversion
20
21
21
-
Similarly, mathjax-node's `result` object is extended with a new key `png` containing the resulting data-uri string.
22
+
Similarly, mathjax-node's `result` object is extended with new keys `png` (containing the resulting data-uri string) and `pngWidth` (PNG width in pixel).
0 commit comments