latextomathml

0.0.4 • Public • Published

latextomathml

There is only one API function:

LaTeXtoMathML(String)

/////////////////////////////////////////////////////////////////////////////////////////// /////////////////////////////////Nodejs//////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////////////////// A javascript library for converting LaTeX equations to MathML

if you run it in Nodejs environment��Execute the following command��

npm install latextomathml

example:

var Translator=require("latextomathml");

var mathmlstr=Translator.LaTeXtoMathML("\sqrt{x}");

console.log(mathmlstr);

//you will get x

/////////////////////////////////////////////////////////////////////////////////////////// //////////////////////////////////web browser side///////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////

if you run it in web browser environment��

example:

var mathmlstr=LaTeXtoMathML("\sqrt{x}");

console.log(mathmlstr);

//you will get x

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i latextomathml

      Weekly Downloads

      8

      Version

      0.0.4

      License

      none

      Last publish

      Collaborators

      • einsy