react-math

0.0.1 • Public • Published

react-math

Format math text into MathML. Uses the ascii-math module, please note not all browsers support mathml: caniuse... mathml.

Installation

npm install react-math

Demo

http://cezary.github.io/react-math/

Example

var React = require('react');
var MathML = require('react-math');
 
var Component = React.createClass({
  render: function() {
    return (
      <MathML text='e^(i pi)=-1'/>
    );
  }
});

License

MIT

/react-math/

    Package Sidebar

    Install

    npm i react-math

    Weekly Downloads

    11

    Version

    0.0.1

    License

    MIT

    Last publish

    Collaborators

    • cezary