From 4aecebae267d92a08df899be32c9b491d8da0c65 Mon Sep 17 00:00:00 2001 From: THARAK HEGDE <120558797+captainhaddock18@users.noreply.github.com> Date: Wed, 5 Jul 2023 11:45:32 +0530 Subject: [PATCH] Fix MDX README typo (#7567) --- packages/integrations/mdx/src/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/integrations/mdx/src/README.md b/packages/integrations/mdx/src/README.md index 4b83dc9d4..bbbc6075c 100644 --- a/packages/integrations/mdx/src/README.md +++ b/packages/integrations/mdx/src/README.md @@ -43,7 +43,7 @@ function _createMdxContent() { This results in fewer JSX nodes, less compiled JS output, and less parsed AST, which results in faster Rollup builds and runtime rendering. -To acheive this, we use an algorithm to detect `hast` subtrees that are entirely static (containing no JSX) to be inlined as `set:html` to the root of the subtree. +To achieve this, we use an algorithm to detect `hast` subtrees that are entirely static (containing no JSX) to be inlined as `set:html` to the root of the subtree. The next section explains the algorithm, which you can follow along by pairing with the [source code](./rehype-optimize-static.ts). To analyze the `hast`, you can paste the MDX code into https://mdxjs.com/playground.