You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So if you're outputting data structures pretty-printed/syntaxed in a custom language your extension serves (with a grammar and LSP / IntelliSense), you'll have to pick one of that above-linked listing of predefined text/x-languageids that comes closest to your syntax , or the one that "messes it up the least".
The idea of this feature request: just like Notebook input cells can already, today fully benefit from extension-contributed custom-language IntelliSense and syntax-highlighting of their own extension-contributed language grammars, so should the output cell syntax-highlighting also support any language grammar registered with VSCode (whether built-in or extension-provided), not just the above-linked "blessed predefined hardcoded set" of them.
Previous discussion motivating the feature request here, CC @rebornix