1. 首页
  2. 考试认证
  3. 其它
  4. react mathReact组件将数学文本转换为MathML

react mathReact组件将数学文本转换为MathML

上传者: 2024-12-10 17:34:25上传 ZIP文件 46.01KB 热度 1次

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>);

  }

});

执照:麻省理工学院

下载地址
用户评论