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
@@ -111,7 +111,7 @@ Where `<YOUR_SEGMENT_WRITE_KEY>` is the Write Key shown on the page of the Segme
Finally, in `medusa-config.js`, add the following new item to the `plugins` array:
```jsx title=medusa-config.js
```jsx title="medusa-config.js"
const plugins = [
// ...
{
@@ -155,7 +155,7 @@ In some cases, you might want to track more events or custom events. You can do
For example, you can add the following [subscriber](../../development/events/subscribers.mdx) to listen to the `customer.created` event and add tracking for every customer created:
```ts title=src/subscribers/customer.ts
```ts title="src/subscribers/customer.ts"
import {
type SubscriberConfig,
type SubscriberArgs,