mathjs-mathml
Version:
Translation of mathjs object to MathML
39 lines (26 loc) • 1.2 kB
Markdown
[](https://github.com/insysbio/mathjs-mathml/actions)
[](https://coveralls.io/github/insysbio/mathjs-mathml?branch=master)
[](https://www.npmjs.com/package/mathjs-mathml)
[](https://github.com/insysbio/mathjs-mathml/blob/master/LICENSE)
# mathjs-mathml
## Description
Extends mathjs http://mathjs.org/ library by providing the handler for producing content MathML https://www.w3.org/Math/
## Installation
```shell
npm install mathjs-mathml
```
```javascript
const { create, all } = require('mathjs');
const math = create(all);
const { cMathMLHandler } = require('mathjs-mathml');
let mathml = math
.parse('x*sin(y/z)')
.toString(cMathMLHandler);
console.log(mathml);
```
## Maintainers
- Evgeny Metelkin @metelkin
- Viktoria Tkachenko @vetedde
## Copyright
InSysBio, Moscow, 2017-2024
http://insysbio.com