File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -66,12 +66,13 @@ Repository](https://github.com/mathjax/MathJax-demos-web) for more information.
6666
6767### Using MathJax Components in node applications
6868
69- To use MathJax components in a node application, install the ` mathjax `
70- package:
69+ To use MathJax components in a node application, install the ` mathjax ` package:
7170
72- npm install mathjax
71+ npm install mathjax@3
7372
74- and require ` mathjax ` within your application:
73+ (we are still making updates to version 2, so you should include ` @3 ` since the latest chronological version may not be version 3).
74+
75+ Then require ` mathjax ` within your application:
7576
7677 require('mathjax').init({ ... }).then((MathJax) => { ... });
7778
@@ -121,8 +122,8 @@ If you want to work from the GitHub repository directly, then do the following:
121122
122123 git clone https://github.com/mathjax/MathJax-src.git mathjax-src
123124 cd mathjax-src
124- npm run compile
125- npm run make-components
125+ npm run --silent compile
126+ npm run --silent make-components
126127
127128in order to compile the JavaScript files from the TypeScript source,
128129and build the component files from the JavaScript files.
You can’t perform that action at this time.
0 commit comments