docs: fix code block titles (#5733)

* docs: fix code block titles

* remove console

* fix build error
This commit is contained in:
Shahed Nasser
2023-11-27 16:08:10 +00:00
committed by GitHub
parent de8f748674
commit 547b16ead5
110 changed files with 483 additions and 456 deletions
@@ -64,7 +64,7 @@ Where:
Finally, in `medusa-config.js`, add the Klarna plugin to the `plugins` array with the necessary configurations:
```js title=medusa-config.js
```js title="medusa-config.js"
const plugins = [
// other plugins...
{
@@ -62,7 +62,7 @@ Notice that during development its highly recommended to set `PAYPAL_SANDBOX`
Then, in `medusa-config.js`, add the PayPal plugin to the `plugins` array with the configurations necessary:
```js title=medusa-config.js
```js title="medusa-config.js"
const plugins = [
// other plugins...
{
@@ -138,7 +138,7 @@ Medusa has a Next.js Starter Template that you can easily use with your Medusa b
In your `.env.local` file (or the file youre using for your environment variables), add the following variable:
```bash title=.env.local
```bash title=".env.local"
NEXT_PUBLIC_PAYPAL_CLIENT_ID=<YOUR_CLIENT_ID>
```
@@ -54,7 +54,7 @@ Next, you need to add configurations for your stripe plugin.
In `medusa-config.js` add the following at the end of the `plugins` array:
```js title=medusa-config.js
```js title="medusa-config.js"
const plugins = [
// ...
{
@@ -145,7 +145,7 @@ Medusa has a Next.js Starter Template that you can easily use with your Medusa b
In your `.env.local` file (or the file youre using for your environment variables), add the following variable:
```bash title=.env.local
```bash title=".env.local"
NEXT_PUBLIC_STRIPE_KEY=<YOUR_PUBLISHABLE_KEY>
```