Closed Hi2885 closed 8 months ago
Problem As far as I understand, rehype-pretty-code can't currently be used to achieve that as it only exposes a function, which is a a rehype plugin and it can't be used inside a react component.
As far as I understand, rehype-pretty-code can't currently be used to achieve that as it only exposes a function, which is a a rehype plugin and it can't be used inside a react component.
rehype-pretty-code
Originally posted by @Hi2885 in https://github.com/atomiks/rehype-pretty-code/issues/89#issuecomment-1880478111
Originally posted by @Hi2885 in https://github.com/atomiks/rehype-pretty-code/issues/89#issuecomment-1880478111