Math and katex
With the help of remark-math
and rehype-katex
, math notation is supported.
Inline math
Some inline math, coming right up. $T_n = a + (n-1)d$
Some inline math, coming right up. $T_n = a + (n-1)d$
Math block
Or math block:
$$
T_n = a + (n-1)d
$$
$$ T_n = a + (n-1)d $$
Special thanks to flashshare in #7.
And a super helpful tutorial of Adding math support to a Gatsby MDX blog | Nicky blogs.