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> <CodeBlock language="jsx">{MyComponentSource}</CodeBlock>
</BrowserWindow> </BrowserWindow>
<br />
``` ```
See [using code blocks in JSX](./markdown-features-code-blocks.mdx#usage-in-jsx) for more details of the `<CodeBlock>` component. 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> <BrowserWindow>
<PartialExample name="Sebastien" /> <PartialExample name="Sebastien" />
</BrowserWindow> </BrowserWindow>
<br />
``` ```
This way, you can reuse content among multiple pages and avoid duplicating materials. This way, you can reuse content among multiple pages and avoid duplicating materials.
:::caution :::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)).
::: :::

View file

@ -75,7 +75,6 @@ It is also possible to provide `values` and `defaultValue` props to `Tabs`:
<TabItem value="banana">This is a banana 🍌</TabItem> <TabItem value="banana">This is a banana 🍌</TabItem>
</Tabs> </Tabs>
</BrowserWindow> </BrowserWindow>
<br/>
``` ```
<details> <details>
@ -163,7 +162,6 @@ You may want choices of the same kind of tabs to sync with each other. For examp
<TabItem value="mac" label="macOS">Use Command + V to paste.</TabItem> <TabItem value="mac" label="macOS">Use Command + V to paste.</TabItem>
</Tabs> </Tabs>
</BrowserWindow> </BrowserWindow>
<br/>
``` ```
For all tab groups that have the same `groupId`, the possible values do not need to be the same. If one tab group is chosen a value that does not exist in another tab group with the same `groupId`, the tab group with the missing value won't change its tab. You can see that from the following example. Try to select Linux, and the above tab groups don't change. For all tab groups that have the same `groupId`, the possible values do not need to be the same. If one tab group is chosen a value that does not exist in another tab group with the same `groupId`, the tab group with the missing value won't change its tab. You can see that from the following example. Try to select Linux, and the above tab groups don't change.

View file

@ -365,8 +365,6 @@ import MyComponentSource from '!!raw-loader!@site/src/pages/examples/_myComponen
<CodeBlock className="language-jsx">{MyComponentSource}</CodeBlock> <CodeBlock className="language-jsx">{MyComponentSource}</CodeBlock>
</BrowserWindow> </BrowserWindow>
<br />
``` ```
See [using code blocks in JSX](./markdown-features-code-blocks.mdx#usage-in-jsx) for more details of the `<CodeBlock>` component. See [using code blocks in JSX](./markdown-features-code-blocks.mdx#usage-in-jsx) for more details of the `<CodeBlock>` component.
@ -407,8 +405,6 @@ import PartialExample from './_markdown-partial-example.mdx';
<BrowserWindow> <BrowserWindow>
<PartialExample name="Sebastien" /> <PartialExample name="Sebastien" />
</BrowserWindow> </BrowserWindow>
<br />
``` ```
This way, you can reuse content among multiple pages and avoid duplicating materials. This way, you can reuse content among multiple pages and avoid duplicating materials.

View file

@ -75,7 +75,6 @@ It is also possible to provide `values` and `defaultValue` props to `Tabs`:
<TabItem value="banana">This is a banana 🍌</TabItem> <TabItem value="banana">This is a banana 🍌</TabItem>
</Tabs> </Tabs>
</BrowserWindow> </BrowserWindow>
<br/>
``` ```
<details> <details>
@ -115,7 +114,6 @@ It is also possible to provide `values` and `defaultValue` props to `Tabs`:
<TabItem value="banana" label="Banana 2" default>This is a banana 🍌</TabItem> <TabItem value="banana" label="Banana 2" default>This is a banana 🍌</TabItem>
</Tabs> </Tabs>
</BrowserWindow> </BrowserWindow>
<br/>
``` ```
</details> </details>
@ -164,7 +162,6 @@ You may want choices of the same kind of tabs to sync with each other. For examp
<TabItem value="mac" label="macOS">Use Command + V to paste.</TabItem> <TabItem value="mac" label="macOS">Use Command + V to paste.</TabItem>
</Tabs> </Tabs>
</BrowserWindow> </BrowserWindow>
<br/>
``` ```
For all tab groups that have the same `groupId`, the possible values do not need to be the same. If one tab group is chosen a value that does not exist in another tab group with the same `groupId`, the tab group with the missing value won't change its tab. You can see that from the following example. Try to select Linux, and the above tab groups don't change. For all tab groups that have the same `groupId`, the possible values do not need to be the same. If one tab group is chosen a value that does not exist in another tab group with the same `groupId`, the tab group with the missing value won't change its tab. You can see that from the following example. Try to select Linux, and the above tab groups don't change.

View file

@ -365,8 +365,6 @@ import MyComponentSource from '!!raw-loader!@site/src/pages/examples/_myComponen
<CodeBlock language="jsx">{MyComponentSource}</CodeBlock> <CodeBlock language="jsx">{MyComponentSource}</CodeBlock>
</BrowserWindow> </BrowserWindow>
<br />
``` ```
See [using code blocks in JSX](./markdown-features-code-blocks.mdx#usage-in-jsx) for more details of the `<CodeBlock>` component. See [using code blocks in JSX](./markdown-features-code-blocks.mdx#usage-in-jsx) for more details of the `<CodeBlock>` component.
@ -407,8 +405,6 @@ import PartialExample from './_markdown-partial-example.mdx';
<BrowserWindow> <BrowserWindow>
<PartialExample name="Sebastien" /> <PartialExample name="Sebastien" />
</BrowserWindow> </BrowserWindow>
<br />
``` ```
This way, you can reuse content among multiple pages and avoid duplicating materials. This way, you can reuse content among multiple pages and avoid duplicating materials.

View file

@ -75,7 +75,6 @@ It is also possible to provide `values` and `defaultValue` props to `Tabs`:
<TabItem value="banana">This is a banana 🍌</TabItem> <TabItem value="banana">This is a banana 🍌</TabItem>
</Tabs> </Tabs>
</BrowserWindow> </BrowserWindow>
<br/>
``` ```
<details> <details>
@ -115,7 +114,6 @@ It is also possible to provide `values` and `defaultValue` props to `Tabs`:
<TabItem value="banana" label="Banana 2" default>This is a banana 🍌</TabItem> <TabItem value="banana" label="Banana 2" default>This is a banana 🍌</TabItem>
</Tabs> </Tabs>
</BrowserWindow> </BrowserWindow>
<br/>
``` ```
</details> </details>
@ -164,7 +162,6 @@ You may want choices of the same kind of tabs to sync with each other. For examp
<TabItem value="mac" label="macOS">Use Command + V to paste.</TabItem> <TabItem value="mac" label="macOS">Use Command + V to paste.</TabItem>
</Tabs> </Tabs>
</BrowserWindow> </BrowserWindow>
<br/>
``` ```
For all tab groups that have the same `groupId`, the possible values do not need to be the same. If one tab group is chosen a value that does not exist in another tab group with the same `groupId`, the tab group with the missing value won't change its tab. You can see that from the following example. Try to select Linux, and the above tab groups don't change. For all tab groups that have the same `groupId`, the possible values do not need to be the same. If one tab group is chosen a value that does not exist in another tab group with the same `groupId`, the tab group with the missing value won't change its tab. You can see that from the following example. Try to select Linux, and the above tab groups don't change.