Add syntax highlighting
Would be great to have syntax highlighting for error code frames and DB queries.
Can use https://www.npmjs.com/package/react-syntax-highlighter or https://www.npmjs.com/package/sql-highlight (only for DB queries)
Okay, we need to use this for SQL highlighting: https://sentry.engineering/blog/formatting-sql-on-the-frontend
That means we need to extract that code into its own package and I got the go from @gggritso for us to do that (he'll integrate that package back into Sentry code, replacing the inlined module)
/cc @betegon
WIP here. I will update this issue once I get a working version of it.
I think @MathurAditya724 made this happen in #999