Skip to content

Commit

Permalink
Add remark-mdx-math-enhanced to list of plugins
Browse files Browse the repository at this point in the history
Closes GH-2028.

Reviewed-by: Christian Murphy <christian.murphy.42@gmail.com>
Reviewed-by: Titus Wormer <tituswormer@gmail.com>
  • Loading branch information
mattvague committed May 6, 2022
1 parent 55cae36 commit 3c51a43
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/docs/extending-mdx.server.mdx
Expand Up @@ -76,6 +76,8 @@ See also the [list of remark plugins][remark-plugins] and
— change image sources to JavaScript imports
* [`remcohaszing/remark-mdx-frontmatter`](https://github.com/remcohaszing/remark-mdx-frontmatter)
— change frontmatter (YAML) metadata to exports
* [`goodproblems/remark-mdx-math-enhanced`](https://github.com/goodproblems/remark-mdx-math-enhanced)
— enhance math with JavaScript inside it

{/*
please use alpha sorting on **project** name!
Expand Down
7 changes: 7 additions & 0 deletions docs/guides/math.server.mdx
Expand Up @@ -79,6 +79,13 @@ async function main() {
```
</Note>

<Note type="info">
**Note:** see also
[`remark-mdx-math-enhanced`](https://github.com/goodproblems/remark-mdx-math-enhanced),
which you can use to support JavaScript expressions inside of math (such as to
access props or to make calculations)
</Note>

[commonmark]: https://spec.commonmark.org/current/

[remark-math]: https://github.com/remarkjs/remark-math/tree/main/packages/remark-math
Expand Down

1 comment on commit 3c51a43

@vercel
Copy link

@vercel vercel bot commented on 3c51a43 May 6, 2022

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

mdx – ./

mdxjs.com
mdx-git-main-mdx.vercel.app
v2.mdxjs.com
mdx-mdx.vercel.app

Please sign in to comment.