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
+3 -3
View File
@@ -38,7 +38,7 @@ This installs a new Medusa server in the directory `medusa-contentful`.
Change to the `medusa-contentful` directory. In `.env` youll find three variables:
```bash
```bash title=.env
CONTENTFUL_SPACE_ID=
CONTENTFUL_ACCESS_TOKEN=
CONTENTFUL_ENV=
@@ -116,7 +116,7 @@ You can find the format of the PostgreSQL database URL in [PostgreSQLs docume
Then, in `medusa-config.js` in the exported object, comment out or remove the SQLite database configurations and add the PostgreSQL database configurations:
```jsx
```jsx title=medusa-config.js
module.exports = {
projectConfig: {
//...
@@ -239,7 +239,7 @@ mv .env.template .env
Then, open `.env`. You should find the following environment variables:
```bash
```bash title=.env
CONTENTFUL_SPACE_ID=
CONTENTFUL_ACCESS_TOKEN=
```