示例#1
0
export function LaTeXTransform(mimetype, value, document) {
    var container = document.createElement('div')
    container.innerHTML = value

    mathjaxHelper.loadMathJax(document)
    mathjaxHelper.mathProcessor(container)
    return container
}
示例#2
0
文件: latex.js 项目: jaredly/nteract
 componentDidUpdate() {
   if (!window.disableMathJax) mathProcessor(this.refs.rendered);
 }