docs: fix code block highlighting for lines starting with spaces (#7356)

This commit is contained in:
Shahed Nasser
2024-05-20 09:49:52 +03:00
committed by GitHub
parent 48aa09be23
commit 5d4bf83145
2 changed files with 144 additions and 96 deletions
@@ -15,8 +15,8 @@ The object that the subscriber function receives as a parameter has a `data` pro
For example:
export const highlights = [
["8", "", "The event's data payload."],
["9", "{ id: string }", "The type of expected data payloads."]
["7", "", "The event's data payload."],
["8", "{ id: string }", "The type of expected data payloads."]
]
```ts title="src/subscribers/product-created.ts" highlights={highlights}