mirror of
https://github.com/facebook/docusaurus.git
synced 2025-04-29 02:08:36 +02:00
40 lines
977 B
Text
40 lines
977 B
Text
## Page
|
|
|
|
Let's import a MDX partial at `./_pagePartial.md`:
|
|
|
|
```mdx-code-block
|
|
import PagePartial from "./_pagePartial.mdx"
|
|
|
|
<PagePartial />
|
|
```
|
|
|
|
---
|
|
|
|
Now let's import `../README.md`:
|
|
|
|
```mdx-code-block
|
|
import Readme from "../README.mdx"
|
|
|
|
<Readme />
|
|
```
|
|
|
|
### Markdown tests
|
|
|
|
- [Markdown tests MDX](/tests/pages/markdown-tests-mdx)
|
|
- [Markdown tests MD](/tests/pages/markdown-tests-md)
|
|
|
|
### Other tests
|
|
|
|
- [Crash test](/tests/pages/crashTest)
|
|
- [Code block tests](/tests/pages/code-block-tests)
|
|
- [Link tests](/tests/pages/link-tests)
|
|
- [Error boundary tests](/tests/pages/error-boundary-tests)
|
|
- [Hydration tests](/tests/pages/hydration-tests)
|
|
- [TOC tests](/tests/pages/page-toc-tests)
|
|
- [Diagram tests](/tests/pages/diagrams)
|
|
- [Tabs tests](/tests/pages/tabs-tests)
|
|
- [z-index tests](/tests/pages/z-index-tests)
|
|
- [Head metadata tests](/tests/pages/head-metadata)
|
|
- [Unlisted page](/tests/pages/unlisted)
|
|
- [Analytics](/tests/pages/analytics)
|
|
- [Embeds](/tests/pages/embeds)
|