mathsjs-cmathml
Description
Extends mathjs http://mathjs.org/ library by function translating the internal object to content MathML https://www.w3.org/Math/
Usage
Addon can be used in both NodeJS and in the browser.
Installation
npm install mathjs-cmathml
nodejs
NodeJS version uses external DOM from library xmldom
.
const math = ;math; let doc = math ;let mathml = doc; // stringify MathMLconsole;
Browser
Browser version can be downloaded from https://github.com/insysbio/mathsjs-cmathml/tree/master/dist
Browser version uses internal default DOM.
math; let doc = math ;let mathml = ; // stringify MathMLconsole;
webpack
The another entry point is used for webpack building. Webpack version uses browser DOM.
const math = ;math; let doc = math ;let mathml = ; // stringify MathMLconsole;
Maintainers
- Viktoria Tkachenko @vetedde
- Evgeny Metelkin @metelkin
Copyright
InSysBio, Moscow, 2017-2018 http://insysbio.com