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
@@ -82,7 +82,7 @@ The `--seed` flag creates an SQLite database and seeds it with some demo data.
Once the command is done executing, change to the newly created `medusa-server` directory. Then, in `medusa-config.js`, change the exported object at the end of the file to enable Redis:
```jsx
```jsx title=medusa-config.js
module.exports = {
projectConfig: {
redis_url: REDIS_URL,
@@ -128,7 +128,7 @@ Where:
Finally, open `medusa-config.js` and add the following new item to the `plugins` array:
```jsx
```jsx title=medusa-config.js
const plugins = [
//...
{