Skip to content

Commit

Permalink
docs: remove extraneous line break tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-Cena committed May 4, 2022
1 parent 1a9bdd1 commit 96723b5
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 21 deletions.
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

0 comments on commit 96723b5

Please sign in to comment.