轻松在您的网页应用中输入数学公式
由 Han、Jeanine 和 Mary 开发([email protected])
MathQuill 是一款网页公式编辑器,旨在让数学输入变得简单而美观。
MathQuill 项目由其合作伙伴支持。我们秉持富有同情心的行为准则。
MathQuill 正在恢复积极开发,我们致力于让一切顺利运行。发现某个积灰的角落?尽管创建一个 Pull Request!
MathQuill 拥有简洁的界面。以下简短示例创建了一个 MathQuill 元素,进行渲染,然后读取给定的输入:
var htmlElement = document.getElementById('some_id');
var config = {
handlers: { edit: function(){ ... } },
restrictMismatchedBrackets: true
};
var mathField = MQ.MathField(htmlElement, config);
mathField.latex('2^{\\frac{3}{2}}'); // Renders the given LaTeX in the MathQuill field
mathField.latex(); // => '2^{\\frac{3}{2}}'查看我们的入门指南,了解设置说明和 MathQuill 的基本用法。
MathQuill 的大部分文档位于ReadTheDocs上。
一些较旧的文档仍保留在Wiki上。
MathQuill 的源代码形式受 Mozilla 公共许可证 v. 2.0 条款约束:http://mozilla.org/MPL/2.0/
简而言之,只要对 MathQuill 的修改在公开的 GitHub 分支中,你就可以随意使用。(其他公开修改的方式也可以,私有使用修改同样允许。另请参阅:MPL 2.0 FAQ)
暂无开放 Issues,或尚未同步最近议题。