Currently, I am in the process of creating a blog post on Blogspot. Here is the MathJax configuration that I have integrated into the theme's HTML file:
<script defer='defer' id='MathJax-script' src='https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js' type='text/javascript'/>
<script>
window.MathJax = {
tex: {
loader: {load: ['[tex]/ams']},
inlineMath: [ ['$','$'],[&##39;\\(','\\)'] ],
displayMath: [ ['$$','$$'], ['\\[','\\]'] ],
processEscapes: true,
processEnvironments: true,
processRefs: true,
packages: {
'[+]': ['ams']
},
},
};
</script>
In addition, I have also tried implementing the `align` environment from the amsmath package. Here is a snippet of my attempt:
...
By leveraging linearity of expectation, we can formulate the following equations within an align environment:
\begin{align}
\mathbb{E}[I_r] & \leq |I_{r-1}|+\sum_{u\in \overline{I_{r-1}}\setminus \{v_{r-1}\}}{\mathbb{E}[X_{u,r}]}+1\\
& \leq |I_{r-1}| + c_2k(|\overline{I_{r-1}}|-1)|I_{r-1}|/n^2+1\\
& \leq |I_{r-1}|\cdot(1+c_2k/n) + 1\\
\end{align}
...
Despite these efforts, when previewing my page, the text displays as plain text without any processing by MathJax. Any suggestions on how to remedy this issue would be greatly appreciated.