Bright
React Server Component for syntax highlighting
README
the future is bright
Usage
- ``` shell
- npm install bright
- ```
Use it from a server component, for example in Next.js app/page.js:
- ``` js
- import { Code } from "bright"
- export default function Page() {
- return <Code lang="py">print("hello brightness")</Code>
- }
- ```
Docs: https://bright.codehike.org
Credits
Thanks LEI Zongmin for providing the bright npm package name
License
MIT