Monaco TextMate Syntax Highlighting in NextJS
This is an example of how to set up TextMate grammars for Monaco Editor in a simple Next.js app.
Copy any relevant language grammars found here.
https://codesandbox.io/post/introducing-themes#how-it-works
https://github.com/NeekSandhu/monaco-textmate
https://github.com/NeekSandhu/onigasm/issues/2#issuecomment-388527729
https://github.com/shikijs/shiki/issues/22#issuecomment-643601686
https://github.com/microsoft/monaco-editor-webpack-plugin/issues/141#issuecomment-894205889
https://stackoverflow.com/a/65967072/1461204
https://github.com/ChristopherHButler/vscode-themes-in-monaco