From e73cda87d6bf2f88eae7cbf7704d52cfb17ee19b Mon Sep 17 00:00:00 2001 From: Joshua Chen Date: Wed, 4 May 2022 11:45:20 +0800 Subject: [PATCH] docs: remove extraneous line break tags (#7298) --- .../guides/markdown-features/markdown-features-react.mdx | 6 +----- .../guides/markdown-features/markdown-features-tabs.mdx | 2 -- .../guides/markdown-features/markdown-features-react.mdx | 4 ---- .../guides/markdown-features/markdown-features-tabs.mdx | 3 --- .../guides/markdown-features/markdown-features-react.mdx | 4 ---- .../guides/markdown-features/markdown-features-tabs.mdx | 3 --- 6 files changed, 1 insertion(+), 21 deletions(-) diff --git a/website/docs/guides/markdown-features/markdown-features-react.mdx b/website/docs/guides/markdown-features/markdown-features-react.mdx index 1c6ff95a7cfb..6422961e3c34 100644 --- a/website/docs/guides/markdown-features/markdown-features-react.mdx +++ b/website/docs/guides/markdown-features/markdown-features-react.mdx @@ -367,8 +367,6 @@ import MyComponentSource from '!!raw-loader!@site/src/pages/examples/_myComponen {MyComponentSource} - -
``` See [using code blocks in JSX](./markdown-features-code-blocks.mdx#usage-in-jsx) for more details of the `` component. @@ -409,15 +407,13 @@ import PartialExample from './_markdown-partial-example.mdx'; - -
``` 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)). ::: diff --git a/website/docs/guides/markdown-features/markdown-features-tabs.mdx b/website/docs/guides/markdown-features/markdown-features-tabs.mdx index e95292ba2017..40987d28e479 100644 --- a/website/docs/guides/markdown-features/markdown-features-tabs.mdx +++ b/website/docs/guides/markdown-features/markdown-features-tabs.mdx @@ -75,7 +75,6 @@ It is also possible to provide `values` and `defaultValue` props to `Tabs`: This is a banana 🍌 -
```
@@ -163,7 +162,6 @@ You may want choices of the same kind of tabs to sync with each other. For examp Use Command + V to paste. -
``` 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. diff --git a/website/versioned_docs/version-2.0.0-beta.17/guides/markdown-features/markdown-features-react.mdx b/website/versioned_docs/version-2.0.0-beta.17/guides/markdown-features/markdown-features-react.mdx index be6f0018fa05..6d7a84658b70 100644 --- a/website/versioned_docs/version-2.0.0-beta.17/guides/markdown-features/markdown-features-react.mdx +++ b/website/versioned_docs/version-2.0.0-beta.17/guides/markdown-features/markdown-features-react.mdx @@ -365,8 +365,6 @@ import MyComponentSource from '!!raw-loader!@site/src/pages/examples/_myComponen {MyComponentSource} - -
``` See [using code blocks in JSX](./markdown-features-code-blocks.mdx#usage-in-jsx) for more details of the `` component. @@ -407,8 +405,6 @@ import PartialExample from './_markdown-partial-example.mdx'; - -
``` This way, you can reuse content among multiple pages and avoid duplicating materials. diff --git a/website/versioned_docs/version-2.0.0-beta.17/guides/markdown-features/markdown-features-tabs.mdx b/website/versioned_docs/version-2.0.0-beta.17/guides/markdown-features/markdown-features-tabs.mdx index e338dcc5e70e..3cd8d65f9725 100644 --- a/website/versioned_docs/version-2.0.0-beta.17/guides/markdown-features/markdown-features-tabs.mdx +++ b/website/versioned_docs/version-2.0.0-beta.17/guides/markdown-features/markdown-features-tabs.mdx @@ -75,7 +75,6 @@ It is also possible to provide `values` and `defaultValue` props to `Tabs`: This is a banana 🍌 -
```
@@ -115,7 +114,6 @@ It is also possible to provide `values` and `defaultValue` props to `Tabs`: This is a banana 🍌 -
```
@@ -164,7 +162,6 @@ You may want choices of the same kind of tabs to sync with each other. For examp Use Command + V to paste. -
``` 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. diff --git a/website/versioned_docs/version-2.0.0-beta.18/guides/markdown-features/markdown-features-react.mdx b/website/versioned_docs/version-2.0.0-beta.18/guides/markdown-features/markdown-features-react.mdx index 08530fd72efc..d6dd6d57ccff 100644 --- a/website/versioned_docs/version-2.0.0-beta.18/guides/markdown-features/markdown-features-react.mdx +++ b/website/versioned_docs/version-2.0.0-beta.18/guides/markdown-features/markdown-features-react.mdx @@ -365,8 +365,6 @@ import MyComponentSource from '!!raw-loader!@site/src/pages/examples/_myComponen {MyComponentSource} - -
``` See [using code blocks in JSX](./markdown-features-code-blocks.mdx#usage-in-jsx) for more details of the `` component. @@ -407,8 +405,6 @@ import PartialExample from './_markdown-partial-example.mdx'; - -
``` This way, you can reuse content among multiple pages and avoid duplicating materials. diff --git a/website/versioned_docs/version-2.0.0-beta.18/guides/markdown-features/markdown-features-tabs.mdx b/website/versioned_docs/version-2.0.0-beta.18/guides/markdown-features/markdown-features-tabs.mdx index e5364735ffa2..40987d28e479 100644 --- a/website/versioned_docs/version-2.0.0-beta.18/guides/markdown-features/markdown-features-tabs.mdx +++ b/website/versioned_docs/version-2.0.0-beta.18/guides/markdown-features/markdown-features-tabs.mdx @@ -75,7 +75,6 @@ It is also possible to provide `values` and `defaultValue` props to `Tabs`: This is a banana 🍌 -
```
@@ -115,7 +114,6 @@ It is also possible to provide `values` and `defaultValue` props to `Tabs`: This is a banana 🍌 -
```
@@ -164,7 +162,6 @@ You may want choices of the same kind of tabs to sync with each other. For examp Use Command + V to paste. -
``` 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.