Skip to content

Commit

Permalink
Update math-blocks.mdx (#1278)
Browse files Browse the repository at this point in the history
  • Loading branch information
samrobbins85 committed Oct 11, 2020
1 parent d5a1856 commit 370677d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 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:

Expand Down

1 comment on commit 370677d

@vercel
Copy link

@vercel vercel bot commented on 370677d Oct 11, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.