Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: remove extraneous line break tags #7298

Merged
merged 1 commit into from
May 4, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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)).

:::

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ It is also possible to provide `values` and `defaultValue` props to `Tabs`:
<TabItem value="banana">This is a banana 🍌</TabItem>
</Tabs>
</BrowserWindow>
<br/>
```

<details>
Expand Down Expand Up @@ -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>
</Tabs>
</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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -365,8 +365,6 @@ import MyComponentSource from '!!raw-loader!@site/src/pages/examples/_myComponen
<CodeBlock className="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.
Expand Down Expand Up @@ -407,8 +405,6 @@ 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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ It is also possible to provide `values` and `defaultValue` props to `Tabs`:
<TabItem value="banana">This is a banana 🍌</TabItem>
</Tabs>
</BrowserWindow>
<br/>
```

<details>
Expand Down Expand Up @@ -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>
</Tabs>
</BrowserWindow>
<br/>
```

</details>
Expand Down Expand Up @@ -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>
</Tabs>
</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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -365,8 +365,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.
Expand Down Expand Up @@ -407,8 +405,6 @@ 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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ It is also possible to provide `values` and `defaultValue` props to `Tabs`:
<TabItem value="banana">This is a banana 🍌</TabItem>
</Tabs>
</BrowserWindow>
<br/>
```

<details>
Expand Down Expand Up @@ -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>
</Tabs>
</BrowserWindow>
<br/>
```

</details>
Expand Down Expand Up @@ -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>
</Tabs>
</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.
Expand Down