bright icon indicating copy to clipboard operation
bright copied to clipboard

Suggestion: Allow overriding specific part of the children of the <Code> component.

Open alfonsusac opened this issue 2 years ago • 1 comments

Usage:

<Code>
  Hello <span className="bg-red">world</span>
</Code>

alfonsusac avatar Aug 14 '23 07:08 alfonsusac

I figure that this would be complicated to implement or might make performance issue to the whole component but thought it'd be cool anyways.

Related https://github.com/code-hike/bright/issues/27

alfonsusac avatar Aug 14 '23 07:08 alfonsusac