Can the Phabricator Pygments integration support tsx files?

Currently, no syntax highlighting is offered for tsx files, jsx files with typescript.

Can this be included in a future release? Perhaps using this extension https://github.com/hatarist/pygments-tsx.

1 Like

We found a solution internally by changing the syntax.filemap configuration to:

{
  "@\\.arcconfig$@": "json",
  "@\\.arclint$@": "json",
  "@\\.divinerconfig$@": "json",
  "@\\.ts$@": "js",
  "@\\.tsx$@": "js"
}