Skip to content

Commit

Permalink
docs(transformers): clarify that shiki does not parse meta
Browse files Browse the repository at this point in the history
  • Loading branch information
olets committed Nov 13, 2024
1 parent 93246cd commit 6aabad1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/guide/transformers.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Transformers can also access markdown 'meta' strings in [supported integrations]

````markdown
<!-- [!code word:meta=here] -->
```html meta=here
```html foo=bar baz-qux="qu ux"
````

You can access the raw meta using:
Expand All @@ -71,5 +71,5 @@ You can access the raw meta using:

```ts
options.meta
// => { meta: 'here', __raw: 'meta=here' }
// => { __raw: 'foo=bar baz-qux="qu ux"' }
```

0 comments on commit 6aabad1

Please sign in to comment.