Skip to content

Commit 68ae462

Browse files
authored
Merge pull request #3479 from mathjax/develop
MathJax v4.1.0 release
2 parents 87a3c30 + b0c77ad commit 68ae462

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+131
-133
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# MathJax
22
## Beautiful math in all browsers
33

4+
**Note:** MathJax code development is performed in the [MathJax-src](https:/github.com/mathjax/MathJax-src) repository. This repository holds the packaged version of MathJax, along with the main issue tracker for MathJax bugs.
5+
46
![GitHub release version](https://img.shields.io/github/v/release/mathjax/MathJax-src.svg?sort=semver)
57
![GitHub release version (v3)](https://img.shields.io/github/package-json/v/mathjax/MathJax/legacy-v3.svg?label=release-v3)
68
![GitHub release version (v2)](https://img.shields.io/github/package-json/v/mathjax/MathJax/legacy-v2.svg?label=release-v2)
@@ -106,7 +108,6 @@ Alternatively, you can get the files via GitHub:
106108
```
107109
git clone https://github.com/mathjax/MathJax.git mathjax
108110
mv mathjax <path-to-server-location>/mathjax
109-
rm -rf mathjax
110111
```
111112

112113
Then (in either case) you can use a script tag like the following:
@@ -146,7 +147,7 @@ await MathJax.init({
146147
loader: {load: ['input/tex', 'output/svg']}
147148
});
148149
const svg = await MathJax.tex2svgPromise('\\frac{1}{x^2-1}', {display: true});
149-
console.log(MathJax.startup.adaptor.outerHTML(svg));
150+
console.log(MathJax.startup.adaptor.serializeXML(svg));
150151
```
151152

152153

@@ -166,7 +167,7 @@ MathJax.init({
166167
loader: {load: ['input/tex', 'output/svg']}
167168
}).then(() => {
168169
const svg = MathJax.tex2svg('\\frac{1}{x^2-1}', {display: true});
169-
console.log(MathJax.startup.adaptor.outerHTML(svg));
170+
console.log(MathJax.startup.adaptor.serializeXML(svg));
170171
}).catch((err) => console.log(err.message));
171172
```
172173

@@ -254,4 +255,3 @@ bug tracker) for questions about how to use MathJax.
254255
* [MathJax Node Examples](https://github.com/mathjax/MathJax-demos-node)
255256
* [MathJax Bug Tracker](https://github.com/mathjax/MathJax/issues)
256257
* [MathJax Users' Group](http://groups.google.com/group/mathjax-users)
257-

a11y/assistive-mml.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)