docs: remove extraneous line break tags (#7298)

This commit is contained in:
Joshua Chen 2022-05-04 11:45:20 +08:00 committed by GitHub
parent 1a9bdd1a4e
commit e73cda87d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 1 additions and 21 deletions

View file

@ -367,8 +367,6 @@ import MyComponentSource from '!!raw-loader!@site/src/pages/examples/_myComponen
<CodeBlock language="jsx">{MyComponentSource}</CodeBlock>
</BrowserWindow>
<br />
```
See [using code blocks in JSX](./markdown-features-code-blocks.mdx#usage-in-jsx) for more details of the `<CodeBlock>` component.
@ -409,15 +407,13 @@ import PartialExample from './_markdown-partial-example.mdx';
<BrowserWindow>
<PartialExample name="Sebastien" />
</BrowserWindow>
<br />
```
This way, you can reuse content among multiple pages and avoid duplicating materials.
:::caution
The table of contents does not currently contain the imported Markdown headings. This is a technical limitation that we are trying to solve ([issue](https://github.com/facebook/docusaurus/issues/3915)).
Currently, the table of contents does not contain the imported Markdown headings. This is a technical limitation that we are trying to solve ([issue](https://github.com/facebook/docusaurus/issues/3915)).
:::