To configure Markdown Editor to support LaTeX, do the following:
1. In the Admin -> Layout page, check Custom HTML in <HEAD> section of every page and paste in the following code:
<script>
MathJax = {
tex: {
inlineMath: [['$', '$'], ['\\(', '\\)']]
},
svg: {
fontCache: 'global'
}
};
</script>
<script type="text/javascript" id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3.1.0/es5/tex-svg.js">
</script>
2. In the Admin -> Posting page, make Markdown Editor the default editor for both questions and answers.
Now your website is ready for LaTeX notation.
Reference:
http://docs.mathjax.org/en/latest/web/configuration.html#configuration-using-an-in-line-script