Skip to content

Commit

Permalink
docs(website): fix code block Crowdin issue (#7345)
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber authored May 5, 2022
1 parent dfe743c commit c892492
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 6 deletions.
10 changes: 8 additions & 2 deletions website/docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,31 +54,37 @@ npx create-docusaurus@latest my-website facebook

You can also initialize a new project using your preferred project manager:

````mdx-code-block
```mdx-code-block
<Tabs>
<TabItem value="npm">
```

```bash
npm init docusaurus
```

```mdx-code-block
</TabItem>
<TabItem value="yarn">
```

```bash
yarn create docusaurus
```

```mdx-code-block
</TabItem>
<TabItem value="pnpm">
```

```bash
pnpm create docusaurus
```

```mdx-code-block
</TabItem>
</Tabs>
````
```

</details>

Expand Down
10 changes: 8 additions & 2 deletions website/versioned_docs/version-2.0.0-beta.18/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,31 +64,37 @@ npx create-docusaurus@latest my-website facebook

You can also initialize a new project using your preferred project manager:

````mdx-code-block
```mdx-code-block
<Tabs>
<TabItem value="npm">
```

```bash
npm init docusaurus
```

```mdx-code-block
</TabItem>
<TabItem value="yarn">
```

```bash
yarn create docusaurus
```

```mdx-code-block
</TabItem>
<TabItem value="pnpm">
```

```bash
pnpm create docusaurus
```

```mdx-code-block
</TabItem>
</Tabs>
````
```

</details>

Expand Down
10 changes: 8 additions & 2 deletions website/versioned_docs/version-2.0.0-beta.19/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,31 +64,37 @@ npx create-docusaurus@latest my-website facebook

You can also initialize a new project using your preferred project manager:

````mdx-code-block
```mdx-code-block
<Tabs>
<TabItem value="npm">
```

```bash
npm init docusaurus
```

```mdx-code-block
</TabItem>
<TabItem value="yarn">
```

```bash
yarn create docusaurus
```

```mdx-code-block
</TabItem>
<TabItem value="pnpm">
```

```bash
pnpm create docusaurus
```

```mdx-code-block
</TabItem>
</Tabs>
````
```

</details>

Expand Down

0 comments on commit c892492

Please sign in to comment.