docs: redesigned code blocks (#2745)

* docs: redesigned code blocks to include titles

* docs: added a title where necessary
This commit is contained in:
Shahed Nasser
2022-12-08 18:52:54 +02:00
committed by GitHub
parent 8efae2dfcf
commit a57177ded5
60 changed files with 455 additions and 375 deletions
+2 -2
View File
@@ -108,7 +108,7 @@ Where:
Finally, in `medusa-config.js`, add to the `plugins` array the following new item:
```jsx
```jsx title=medusa-config.js
const plugins = [
//...
{
@@ -156,7 +156,7 @@ If this configuration is not added, youll receive the error ["next/image Un-
In `next.config.js` add the following option in the exported object:
```jsx
```jsx title=next.config.js
const { withStoreConfig } = require("./store-config")
//...