summaryrefslogtreecommitdiff
path: root/packages/integrations/mdx
diff options
context:
space:
mode:
authorGravatar THARAK HEGDE <120558797+captainhaddock18@users.noreply.github.com> 2023-07-05 11:45:32 +0530
committerGravatar GitHub <noreply@github.com> 2023-07-05 14:15:32 +0800
commit4aecebae267d92a08df899be32c9b491d8da0c65 (patch)
treefaf9932a68efb991f439eba04a4ba76c8623d944 /packages/integrations/mdx
parent5ffdec758061b55a328d2e8037684c3b2f1e0184 (diff)
downloadastro-4aecebae267d92a08df899be32c9b491d8da0c65.tar.gz
astro-4aecebae267d92a08df899be32c9b491d8da0c65.tar.zst
astro-4aecebae267d92a08df899be32c9b491d8da0c65.zip
Fix MDX README typo (#7567)
Diffstat (limited to 'packages/integrations/mdx')
-rw-r--r--packages/integrations/mdx/src/README.md2
1 files changed, 1 insertions, 1 deletions
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.