CodeMyst/pastemyst

[bug] TSX syntax highlighting

Open

#293 opened on Dec 15, 2020

 (1 comment) (0 reactions) (0 assignees)D (10 forks)auto 404
bugfrontendgood first issue

Repository metrics

Stars
 (127 stars)
PR merge metrics
 (PR metrics pending)

Description

describe the bug

TSX (React TypeScript) syntax doesn't work at all.

to reproduce steps to reproduce the behavior:

  1. go to https://paste.myst.rs/
  2. click on select language
  3. scroll down to TSX
  4. paste TSX code
  5. hit paste
  6. see no highlighting

expected behavior

Properly higlight the code.

device and browser:

  • os: Linux
  • browser: Brave
  • browser version: 1.18.70 Chromium: 87.0.4280.101 (Official Build) (64-bit)

Contributor guide