UNPKG
mathjax-node
Version:
latest (2.1.1)
2.1.1
2.1.0
2.0.1
2.0.0
1.3.0
1.2.1
1.2.0
1.2.0-beta.0
1.1.1
1.1.0
1.0.3
1.0.2
1.0.1
1.0.0
1.0.0-beta.0
0.5.2
0.5.1
0.5.0
0.5.0-rc.1
0.4.0
API's for calling MathJax from node.js
github.com/mathjax/MathJax-node
mathjax/MathJax-node
mathjax-node
/
test
/
assets
/
test.js
10 lines
(8 loc)
•
228 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
MathJax
.
Hub
.
Register
.
StartupHook
(
"TeX Jax Ready"
,
function
(
) {
MathJax
.
InputJax
.
TeX
.
Definitions
.
Add
({
macros
: {
test
: [
"Macro"
,
"\text{This is a Test}"
] } }); });
MathJax
.
Ajax
.
loadComplete
(
"[test]/test.js"
);