yarn add remark-math rehype-katex
import remarkMath from 'remark-math' import rehypeKatex from 'rehype-katex' import 'katex/dist/katex.min.css'
<ReactMarkdown ... rehypePlugins={[rehypeKatex]} remarkPlugins={[remarkMath]} />
$$ L = \frac{1}{2} \rho v^2 S C_L $$
$ L = \frac{1}{2} \rho v^2 S C_L $
NOTE: \rho
は、ギリシャ文字
$$ E = mc^2 $$