Math

Math written between dollar signs with backticks ($...$) or single dollar signs ($…$) is rendered inline with the text.

Math written between double dollar signs ($$…$$) or in a code block with the language declared as math is rendered on a separate line:

This math is inline: $`a^2+b^2=c^2`$.

This math is on a separate line using a ```` ```math ```` block:

```math
a^2+b^2=c^2

This math is on a separate line using inline $$: $$a^2+b^2=c^2$$

This math is on a separate line using a $$...$$ block:

$$ a^2+b^2=c^2 $$