Skip to content
/ bright Public
forked from code-hike/bright

React Server Component for syntax highlighting

Notifications You must be signed in to change notification settings

ozee-io/bright

 
 

Repository files navigation

the future is bright

Usage

npm install bright

Use it from a server component, for example in Next.js app/page.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

About

React Server Component for syntax highlighting

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 56.8%
  • JavaScript 38.6%
  • MDX 3.1%
  • CSS 1.5%