CodeMyst/pastemyst

[bug] TSX syntax highlighting

开放

#293 创建于 2020年12月15日

 (1 条评论) (0 个反应) (0 位负责人)D (10 个派生)auto 404
bugfrontendgood first issue

仓库指标

星标
 (127 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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)

贡献者指南