From 370677d7d6ed8e1e558fa96df4745c8f87613dbe Mon Sep 17 00:00:00 2001 From: Sam Robbins Date: Sun, 11 Oct 2020 13:41:01 +0100 Subject: [PATCH] Update math-blocks.mdx (#1278) --- docs/guides/math-blocks.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/math-blocks.mdx b/docs/guides/math-blocks.mdx index 474ba75a8..924b59fe9 100644 --- a/docs/guides/math-blocks.mdx +++ b/docs/guides/math-blocks.mdx @@ -1,6 +1,6 @@ # Math blocks -You can render math blocks via [remark-math](https://github.com/remarkjs/remark-math/tree/main/packages/remark-math) and [rehype-katex](https://github.com/remarkjs/remark-math/tree/main/packages/rehype-katex). remark-math parses math blocks and rehype-katex transforms the blocks into html elements with classes for styling. Also, you need to apply css style of KaTeX by yourself to render them properly. +You can render math blocks via [remark-math](https://github.com/remarkjs/remark-math/tree/main/packages/remark-math) and [rehype-katex](https://github.com/remarkjs/remark-math/tree/main/packages/rehype-katex). remark-math parses math blocks and rehype-katex transforms the blocks into html elements with classes for styling. Also, you need to apply css style of [KaTeX](https://katex.org/) by yourself to render them properly. First, link a stylesheet and use the `$` syntax: