Skip to content

Commit 3c51a43

Browse files
authoredMay 6, 2022
Add remark-mdx-math-enhanced to list of plugins
Closes GH-2028. Reviewed-by: Christian Murphy <christian.murphy.42@gmail.com> Reviewed-by: Titus Wormer <tituswormer@gmail.com>
1 parent 55cae36 commit 3c51a43

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed
 

‎docs/docs/extending-mdx.server.mdx

+2
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ See also the [list of remark plugins][remark-plugins] and
7676
— change image sources to JavaScript imports
7777
* [`remcohaszing/remark-mdx-frontmatter`](https://github.com/remcohaszing/remark-mdx-frontmatter)
7878
— change frontmatter (YAML) metadata to exports
79+
* [`goodproblems/remark-mdx-math-enhanced`](https://github.com/goodproblems/remark-mdx-math-enhanced)
80+
— enhance math with JavaScript inside it
7981

8082
{/*
8183
please use alpha sorting on **project** name!

‎docs/guides/math.server.mdx

+7
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,13 @@ async function main() {
7979
```
8080
</Note>
8181

82+
<Note type="info">
83+
**Note:** see also
84+
[`remark-mdx-math-enhanced`](https://github.com/goodproblems/remark-mdx-math-enhanced),
85+
which you can use to support JavaScript expressions inside of math (such as to
86+
access props or to make calculations)
87+
</Note>
88+
8289
[commonmark]: https://spec.commonmark.org/current/
8390

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

0 commit comments

Comments
 (0)