code-hike/bright

React Server Component for syntax highlighting

TypeScript

1,619

134 commits

updated Dec 26, 2024

See the code

README

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

react-server-components
syntax-highlighting

code-hike/bright

React Server Component for syntax highlighting

TypeScript

1,619

134 commits

updated Dec 26, 2024

See the code

README

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

react-server-components
syntax-highlighting

Project health

Latest release

1.0.0 · Dec 26, 2024

Releases this year

0

Significant stargazers

(top 24 of 51)

Anton Medvedev

3,234 followers · starred Jul 2023

Jesse Katsumata

441 followers · starred Jan 2023

Harminder Virk

2,636 followers · starred May 2024

John Otander

1,485 followers · starred Feb 2023