Open vadimdemedes opened 3 years ago
It would be cool to have a standalone <SyntaxHighlight> component, which could accept some JS code as input and render a syntax highlighted version of it. For example:
<SyntaxHighlight>
<SyntaxHighlight code="const hello = 'world';"/>
See cli-highlight for inspiration.
Hey 🙂 I would like to tackle it.
It would be cool to have a standalone
<SyntaxHighlight>
component, which could accept some JS code as input and render a syntax highlighted version of it. For example:See cli-highlight for inspiration.