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
@@ -33,7 +33,7 @@ Starting from v7.0.0 of `@medusajs/admin`, the `path` configuration is required
For example, if you've set the admin configuration as follows:
```js title=medusa-config.js
```js title="medusa-config.js"
const plugins = [
// ...
{
@@ -49,7 +49,7 @@ const plugins = [
You should change the value of `path` to `/admin`:
```js title=medusa-config.js
```js title="medusa-config.js"
const plugins = [
// ...
{
@@ -58,7 +58,7 @@ yarn add @medusajs/event-bus-redis@1.8.0
Then, add both modules to the exported configuration in `medusa-config.js`.
```js title=medusa-config.js
```js title="medusa-config.js"
module.exports = {
// ...
modules: {
@@ -29,7 +29,7 @@ As you can see from the new object shape, the property `indexSettings` has been
Previously, you might have configured the Algolia plugin as seen below:
```js title=medusa-config.js
```js title="medusa-config.js"
const plugins = [
// ...
{
@@ -50,7 +50,7 @@ In the above example, an index `products` has been configured with two options `
The updated plugin options would look like so:
```js title=medusa-config.js
```js title="medusa-config.js"
const plugins = [
// ...
{
@@ -29,7 +29,7 @@ As you can see from the new object shape, the property `indexSettings` has been
Previously, your Meilisearch plugin configurations were something like this:
```js title=medusa-config.js
```js title="medusa-config.js"
const plugins = [
// ...
{