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
@@ -43,7 +43,7 @@ For the example in this tutorial, you can create the file `src/loaders/publish.t
To create a scheduled job, add the following code in the file you created, which is `src/loaders/publish.ts` in this example:
```ts title=src/loaders/publish.ts
```ts title="src/loaders/publish.ts"
import { MedusaContainer } from "@medusajs/medusa"
const publishJob = async (
@@ -35,7 +35,7 @@ The scheduled job file exports a default handler function, and the scheduled job
For example:
```ts title=src/loaders/publish.ts
```ts title="src/loaders/publish.ts"
import {
type ProductService,
type ScheduledJobConfig,