ic-design-system
ic-design-system copied to clipboard
Syntax highlighting in code preview
Summary of the bug
Syntax highlighting is not present for 'tsx' files.
Add conditional language variable in the CodePreview code window component.
Javascript: (note function name & css styling):
Typescript:
moved back for triage as was "dev in progress" but no-one actively working on it
could look to see if this is resolved in a newer version of prism-react-renderer
Task here is to upgrade the library and see if any options to fix, if not move it back