CodeMyst/pastemyst

[bug] TSX syntax highlighting

Aperta

#293 aperta il 15 dic 2020

 (1 commento) (0 reazioni) (0 assegnatari)D (10 fork)auto 404
bugfrontendgood first issue

Metriche repository

Star
 (127 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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)

Guida contributor