mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-20 12:37:01 +02:00
fix(cli): allow passing a list of file names to write-heading-ids (#6500)
This commit is contained in:
parent
9af7aae9e2
commit
c1e3801ee7
28 changed files with 74 additions and 74 deletions
|
@ -87,7 +87,7 @@ In addition, MDX is not [100% compatible with CommonMark](https://github.com/fac
|
|||
|
||||
:::
|
||||
|
||||
### Importing components
|
||||
### Importing components {#importing-components}
|
||||
|
||||
You can also import your own components defined in other files or third-party components installed via npm.
|
||||
|
||||
|
@ -133,7 +133,7 @@ import Highlight from '@site/src/components/Highlight';
|
|||
|
||||
Check out the [MDX docs](https://mdxjs.com/) to see what other fancy stuff you can do with MDX.
|
||||
|
||||
### Markdown and JSX interoperability
|
||||
### Markdown and JSX interoperability {#markdown-and-jsx-interoperability}
|
||||
|
||||
Docusaurus v2 is using MDX v1, which has a lot of known cases where the content fails to be correctly parsed as Markdown. Use the **[MDX playground](https://mdx-git-renovate-babel-monorepo-mdx.vercel.app/playground)** to ensure that your syntax is valid MDX.
|
||||
|
||||
|
@ -419,7 +419,7 @@ The table of contents does not currently contain the imported Markdown headings.
|
|||
|
||||
:::
|
||||
|
||||
## Available exports
|
||||
## Available exports {#available-exports}
|
||||
|
||||
Within the MDX page, the following variables are available as globals:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue