mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-15 07:45:50 +02:00
feat(mdx-loader): upgrade to MDX v3 + (#9451)
This commit is contained in:
parent
8d19054d91
commit
7e456ece3c
49 changed files with 37351 additions and 30469 deletions
|
@ -74,7 +74,7 @@ function mdxJsxTextElementToHtml(
|
|||
}
|
||||
|
||||
export function toValue(
|
||||
node: PhrasingContent | Heading,
|
||||
node: PhrasingContent | Heading | MdxJsxTextElement,
|
||||
toString: (param: unknown) => string, // TODO weird but works
|
||||
): string {
|
||||
switch (node.type) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue