@@ -380,15 +383,13 @@ Add an empty new line:
Don't indent:
-
-```jsx
-
-
-Now I'm actually just text
-
-
```
+```jsx
+
Now I'm actually just text
+```
+
+```mdx-code-block
@@ -402,7 +403,7 @@ Now I'm actually just text
-````
+```
## Importing code snippets {#importing-code-snippets}
diff --git a/website/docs/swizzling.md b/website/docs/swizzling.md
index d1cf3347a6..d5ef94c863 100644
--- a/website/docs/swizzling.md
+++ b/website/docs/swizzling.md
@@ -41,9 +41,10 @@ npm run swizzle
It will generate a new component your `src/theme` directory, which should look like this example:
-````mdx-code-block
+```mdx-code-block
+```
```jsx title="src/theme/SomeComponent.js"
import React from 'react';
@@ -60,8 +61,10 @@ export default function SomeComponent(props) {
}
```
+```mdx-code-block
+```
```jsx title="src/theme/SomeComponent.js"
import React from 'react';
@@ -78,9 +81,10 @@ export default function SomeComponentWrapper(props) {
}
```
+```mdx-code-block
-````
+```
To get an overview of all the themes and components available to swizzle, run: