javascript - MathJax save rendered HTML-CSS to variable -


i have variable tex:

var math = '$$ e=mc^2 $$'; 

i need rendered html code , save variable in order use later. this:

var rendered = mathjax.hub.render(math); 

so should write instead of mathjax.hub.render()?

i using tex input , html-css output:

jax: ["input/tex","output/html-css"] 


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -