How to enable MathJS in blogger
it seems https://www.mathjax.org/cdn-shutting-down/ so that is a need to change to URL.
essentially replace
http://cdn.mathjax.org/mathjax/2.7-latest/MathJax.js?
with
http://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?
How to enable MathJS in blogger |
the code is below
<script type='text/x-mathjax-config'>
// <![CDATA[
MathJax.Hub.Config({
HTML: ["input/TeX","output/HTML-CSS"],
TeX: { extensions: ["AMSmath.js","AMSsymbols.js"],
equationNumbers: { autoNumber: "AMS" } },
extensions: ["tex2jax.js"],
jax: ["input/TeX","output/HTML-CSS"],
tex2jax: { inlineMath: [ ['$','$'], ["\\(","\\)"] ],
displayMath: [ ['$$','$$'], ["\\[","\\]"] ],
processEscapes: true },
"HTML-CSS": { availableFonts: ["TeX"],
linebreaks: { automatic: true } }
});
blogger.ui().viewType_.prototype.onRenderComplete=function(){MathJax.Hub.Queue(["Typeset",MathJax.Hub])};
// ]]>
</script>
<script src='http://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML' type='text/javascript'/>
$ \sqrt(b^2-4ac) $
$ \frac{\delta x}{\delta t} = v_{x} $
but strangely it is rendering doubles, if you know how to fix it please let me know!!
$ \frac{\delta x}{\delta t} = v_{x} $
but strangely it is rendering doubles, if you know how to fix it please let me know!!