Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/code-hike/bright

React Server Component for syntax highlighting
https://github.com/code-hike/bright

react-server-components syntax-highlighting

Last synced: 4 days ago
JSON representation

React Server Component for syntax highlighting

Awesome Lists containing this project

README

        

> the future is bright

## Usage

```bash
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 print("hello brightness")
}
```

Docs: https://bright.codehike.org

## Credits

- Thanks [LEI Zongmin](https://github.com/leizongmin) for providing the bright npm package name

## License

MIT