diff --git a/website/docs/installation.md b/website/docs/installation.md
index 26b701b98b85..90c16645303a 100644
--- a/website/docs/installation.md
+++ b/website/docs/installation.md
@@ -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
+```
```bash
npm init docusaurus
```
+```mdx-code-block
+```
```bash
yarn create docusaurus
```
+```mdx-code-block
+```
```bash
pnpm create docusaurus
```
+```mdx-code-block
-````
+```
diff --git a/website/versioned_docs/version-2.0.0-beta.18/installation.md b/website/versioned_docs/version-2.0.0-beta.18/installation.md
index 944f9f8c2d77..94f4dcca6977 100644
--- a/website/versioned_docs/version-2.0.0-beta.18/installation.md
+++ b/website/versioned_docs/version-2.0.0-beta.18/installation.md
@@ -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
+```
```bash
npm init docusaurus
```
+```mdx-code-block
+```
```bash
yarn create docusaurus
```
+```mdx-code-block
+```
```bash
pnpm create docusaurus
```
+```mdx-code-block
-````
+```
diff --git a/website/versioned_docs/version-2.0.0-beta.19/installation.md b/website/versioned_docs/version-2.0.0-beta.19/installation.md
index a7aa1fa08c81..a759bf8c4363 100644
--- a/website/versioned_docs/version-2.0.0-beta.19/installation.md
+++ b/website/versioned_docs/version-2.0.0-beta.19/installation.md
@@ -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
+```
```bash
npm init docusaurus
```
+```mdx-code-block
+```
```bash
yarn create docusaurus
```
+```mdx-code-block
+```
```bash
pnpm create docusaurus
```
+```mdx-code-block
-````
+```