bright icon indicating copy to clipboard operation
bright copied to clipboard

React Server Component for syntax highlighting

Results 18 bright issues
Sort by recently updated
recently updated
newest added

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: ![screenshot-2024-01-03-at-16 05 28](https://github.com/code-hike/bright/assets/105593/08db9b54-d5b8-4ce7-95a1-2192abd0fb8b) Standard line wrapping acts as predicted: Monaco wraps these as a new line if they...

![image](https://github.com/code-hike/bright/assets/59810760/53854b2f-d9a0-49c0-a66e-11cb9da4c2c5)

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 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)?