mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-04 01:09:20 +02:00
fix(v2): move metadata export after compiling MDX to avoid weird MDX parsing error. (#2105)
* fix(v2): move metadata export to mdx-loader to prevent any weird mdx parsing * refactor * nits * nits * nits
This commit is contained in:
parent
1f0eb37e19
commit
ace93c5a14
7 changed files with 64 additions and 65 deletions
|
@ -40,3 +40,6 @@ Array of rehype plugins to manipulate the MDXHAST
|
|||
### `remarkPlugins`
|
||||
|
||||
Array of remark plugins to manipulate the MDXAST
|
||||
|
||||
### `metadataPath`
|
||||
A function to provide the metadataPath depending on current loaded MDX path that will be exported as the MDX metadata.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue