bright
bright copied to clipboard
React Server Component for syntax highlighting
Here's a repro of the issue: https://codesandbox.io/p/sandbox/2spsii?file=%2Fapp%2Fmdx%2F%5Bslug%5D%2Fpage.tsx%3A10%2C19 (click the link when it's opened) Error: > Error: This module cannot be imported from a Client Component module. It should only be...
Tried https://github.com/DefinitelyTyped/DefinitelyTyped/pull/65003, but we need to wait for https://github.com/microsoft/TypeScript/pull/51328 (TypeScript 5.1 will make `Promise` a valid return type for components)
Is it usable with remix js ?
I wanted to reduce the padding for ``, this didn't work for me ```tsx ( ), }, ]} /> ``` Also this ```tsx ( )} /> ```
I can't see any way to customize the line number component. My use case is to render a custom component before each number. I can't use annotations because from my...
`user-select` should be used with prefix in Safari https://developer.mozilla.org/en-US/docs/Web/CSS/user-select