Open skittlesaur opened 6 months ago
JSX lexer is supported since pygments v2.17.0 (2023-11-18), while Overleaf still uses pygments v2.11.2 (2022-01-06).
Run following example on Overleaf, using its TeX Live 2023 mirror, and you'll get "Pygments version 2.11.2, ...". To run it locally, you need to enable shell escape.
\documentclass{article}
\begin{document}
\input|"pygmentize -V"
\end{document}
Even though it's supported in Pygments lexers, it doesn't seem to be working in overleaf.
I tried the following: