You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/style-guide/components/index.mdx
+6-10Lines changed: 6 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,17 +5,15 @@ sidebar:
5
5
---
6
6
import { Details } from"~/components";
7
7
8
-
Our content is written in [MDX](https://docs.astro.build/en/guides/markdown-content/), an extended version of plain Markdown that lets you use JavaScript expressions and components in your Markdown content. You can use our custom components to add additional formatting to the Cloudflare Docs, such as buttons, tabs, and collapsible sections.
8
+
When you are [contributing to the Cloudflare Docs](/style-guide/contributions/), you can use our custom components to add additional formatting, such as buttons, tabs, and collapsible sections.
9
9
10
-
This page shows you the basics of importing and adding a component to a page. Refer to each component page in this Style Guide to learn the specific props and requirements for each.
10
+
This guide shows you the basics of importing and adding a component to a page. Refer to each component page in this Style Guide to learn the specific props and requirements for each.
11
11
12
-
Our components are based on [Astro components](https://docs.astro.build/en/basics/astro-components/).
13
-
14
-
[Learn more about the Cloudflare Docs framework.](/style-guide/how-we-docs/our-site/#site-framework)
12
+
Our components are based on [Astro components](https://docs.astro.build/en/basics/astro-components/) and are written in [MDX](https://docs.astro.build/en/guides/markdown-content/), an extended version of Markdown. [Learn more about the Cloudflare Docs framework](/style-guide/how-we-docs/our-site/#site-framework).
15
13
16
14
## Add a component to a page
17
15
18
-
To add a component to a page, you need to import it to the page and then add it:
0 commit comments