Markdown Preview Enhanced uses KaTeX or MathJax to render math expressions.
KaTeX is faster than MathJax, but it lacks many features that MathJax has. You can check KaTeX supported functions/symbols.
By default:
- Expression within
$...$
or\(...\)
will be rendered inline. - Expression within
$$...$$
or\[...\]
or```math
will be rendered in block.
You can choose your math rendering method and change math delimiters from package settings panel.
You can Also modify the MathJax config by cmd-shift-p then choose Markdown Preview Enhanced: Open Mathjax config
command.