You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upgrading @astrojs/mdx from 0.9.0 to 0.10.x breaks the line highlighter in rehype-pretty-code. It uses metadata in the title such as
```typescript {1, 5-6}
Since I do not use the built-in astro highlighter, my guess is that rehypeRaw, which was added as default with the same PR (#4292) is causing some problems for me.
What version of
astro
are you using?1.0.0
Are you using an SSR adapter? If so, which one?
None
What package manager are you using?
yarn
What operating system are you using?
Windows (WSL 2)
Describe the Bug
Upgrading
@astrojs/mdx
from0.9.0
to0.10.x
breaks the line highlighter inrehype-pretty-code
. It uses metadata in the title such asSince I do not use the built-in astro highlighter, my guess is that
rehypeRaw
, which was added as default with the same PR (#4292) is causing some problems for me.Working example (with
@astrojs/mdx 0.9.0
: https://stackblitz.com/edit/github-iyfzcn-zhr6ovNon-working example (with
@astrojs/mdx 0.10.1
: https://stackblitz.com/edit/github-iyfzcnLink to Minimal Reproducible Example
https://stackblitz.com/edit/github-iyfzcn
Participation
The text was updated successfully, but these errors were encountered: