react mathReact组件将数学文本转换为MathML
React数学将数学文本格式化为MathML。使用模块,请注意并非所有浏览器都支持MathML。安装命令:npm install react-math。示例代码:
var React = require('react');
var MathML = require('react-math');
var Component = React.createClass({
render: function () {
return (<mathml text="e^(i pi)=-1">mathml>);
}
});
执照:麻省理工学院
下载地址
用户评论