MathJax = {
const MathJax = await require('mathjax@2.7.5/MathJax.js?config=TeX-AMS_CHTML')
.catch(() => window.MathJax)
MathJax.Hub.Config({
tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]},
displayMath: [ ['$$','$$'], ["\\[","\\]"] ],
processEscapes: true
})
MathJax.Hub.Queue(["Typeset",MathJax.Hub,viewof example])
return MathJax
}