bright
bright copied to clipboard
React Server Component for syntax highlighting
I want to format the code using the Prettier API. I am using Next.js Server Component. I am trying to implement it within the beforeHighlight function in the extensions hook....
Hey, Thank you for the great package! We're using Bright in Waku and we stumbled upon a bug with autoprefixer where the inline styles get prefixed and React on the...
Curious how people are handling long lines Monaco top, Bright bottom here:  Standard line wrapping acts as predicted: Monaco wraps these as a new line if they...

can you for example i want to document any react component i pass it as state with it import and everything , it return me the full code of it...
I have a use case where some code examples need to be rendered server-side and others client-side. It would be nice if I could use the same package for both.
Usage: ```tsx Hello world ```
Usage: ```tsx asd ``` Tested in Next.js 13.4.14 Server Component Errors: ``` - error TypeError: Cannot read properties of undefined (reading 'children') at eval (../bright/lib/src/index.tsx:179:53) at Array.map () at parseChildren...
Can support for `autolink` be added to `bright` like it is in `codehike` (https://github.com/code-hike/codehike/issues/356)?