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
I'm trying out web-infra-dev#574. The `@shikijs/rehype` uses a higher version of
`unified` than Rspress. So I decide to first upgrade the dependencies of
Rspress.
Upgrade `@mdxjs/*`, `hast-*`, `mdast-util-*`, `rehype-*`, `remark-*`,
`unist-util-*` and `unified` to latest.
Please note that these are major bump with breaking changes(mostly
typings). The `remarkPlugins/toc.ts` and `remarkPlugins/loader.ts` have
been updated for correct types.
I've tried running Rspack and Rsbuild documentation with the upgraded
Rspress. Everyting looks just fine!
What problem does this feature solve?
Dispaly the ts information in code blocks:
See the details in https://github.com/shikijs/twoslash.
What does the proposed API look like?
Now we support shiki highlighter in rspress-plugin-shiki.And we can integrate https://github.com/shikijs/twoslash/tree/main/packages/shiki-twoslash in this plugin so that the ts compiler will be added in the code block.
The text was updated successfully, but these errors were encountered: