Closed metonym closed 1 year ago
Similar to how LineNumbers is offered as its own component, the language tag logic could also be extracted. It currently exists in three places.
LineNumbers
Beyond duplication, the goal is to modularize the library so that code unused by the consumer isn't tied to the basic Highlight components.
Highlight
Similar to how
LineNumbers
is offered as its own component, the language tag logic could also be extracted. It currently exists in three places.Beyond duplication, the goal is to modularize the library so that code unused by the consumer isn't tied to the basic
Highlight
components.