MathJax
MathJax is a syntax for writing mathematical formulas that get beautifully rendered.
Example
The following text:
$$x = {-b \pm \sqrt{b^2-4ac} \over 2a}$$
renders the formula:
Enabling MathJax
When you choose MathJax as an option, the following is added to the Starlight project:
rehypeMathJax
is added to themarkdown.rehypePlugins
Astro configuration.remarkMath
is added to themarkdown.remarkPlugins
Astro configuration.mathjax.css
is added to thecustomCss
Starlight configuration.