bright
bright copied to clipboard
Suggestion: Allow overriding specific part of the children of the <Code> component.
Usage:
<Code>
Hello <span className="bg-red">world</span>
</Code>
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