README
easy-mathjax
Faclitate MathJax usage.
Usage:
// Configure MathJax prior to loading.
// All mathjax-config blocks will also be merged after injection.
window.MathJax = {
tex2jax: {
inlineMath: [["
Facilitate MathJax usage.
<script type="module">
import easyMathjax from 'https://cdn.skypack.dev/easy-mathjax';
</script>
Faclitate MathJax usage.
Usage:
// Configure MathJax prior to loading.
// All mathjax-config blocks will also be merged after injection.
window.MathJax = {
tex2jax: {
inlineMath: [["
quot;,"quot;]], processEscapes: true } }; var easy = new EasyMathJax({ url: "path/to/mathjax.js" }); easy.inject(function() { easy.render(".mathjax-block", function () { console.log("All items with class 'mathjax-block' have been rendered"); }); });