Skip to content

Commit

Permalink
Correct the generated element type in the readme
Browse files Browse the repository at this point in the history
  • Loading branch information
remcohaszing committed Mar 29, 2024
1 parent 7b49f2c commit 3d402ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ elements are **not** HTML elements, so they are not processed. HTML elements can
If this plugin finds an attribute to process, it transforms the
[hast](https://github.com/syntax-tree/hast) [`element`](https://github.com/syntax-tree/hast#element)
nodes into an
[`mdxJsxFlowElement`](https://github.com/syntax-tree/mdast-util-mdx-jsx#mdxjsxflowelementhast) node.
[`mdxJsxTextElement`](https://github.com/syntax-tree/mdast-util-mdx-jsx#mdxjsxtextelementhast) node.
This may prevent other rehype plugins from further processing. To avoid this, put
`rehype-mdx-import-media` after any other rehype plugins

Expand Down

0 comments on commit 3d402ea

Please sign in to comment.