Mix of ES6 and JSX code
Opened this issue · 0 comments
peterbe commented
See the last block of highlighted code here: https://www.peterbe.com/plog/react-16.6-with-suspense-and-lazy-loading-components-with-react-router-dom
In that page, I had to use the builtin Javascript
lexer in pygments
. If I try to use pygments-lexer-babylon
I get this:
By the way, I'm successfully using pygments-lexer-bablyon
on a bunch of other snippets that is more just pure and simple JSX.