From 3c51a4344762520dc9454bffa10b005bb9ba4583 Mon Sep 17 00:00:00 2001 From: Matt Vague Date: Fri, 6 May 2022 02:42:20 -0700 Subject: [PATCH] Add `remark-mdx-math-enhanced` to list of plugins Closes GH-2028. Reviewed-by: Christian Murphy Reviewed-by: Titus Wormer --- docs/docs/extending-mdx.server.mdx | 2 ++ docs/guides/math.server.mdx | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/docs/docs/extending-mdx.server.mdx b/docs/docs/extending-mdx.server.mdx index f76f0bed1..8b17aa4c3 100644 --- a/docs/docs/extending-mdx.server.mdx +++ b/docs/docs/extending-mdx.server.mdx @@ -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! diff --git a/docs/guides/math.server.mdx b/docs/guides/math.server.mdx index c6f185f18..864d4c43f 100644 --- a/docs/guides/math.server.mdx +++ b/docs/guides/math.server.mdx @@ -79,6 +79,13 @@ async function main() { ``` + + **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) + + [commonmark]: https://spec.commonmark.org/current/ [remark-math]: https://github.com/remarkjs/remark-math/tree/main/packages/remark-math