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
Is there a way to assign colors to the Custom Previewer Tab?
In my use case, the response body is a complex JSON object, and I'd like to show a text-based overview of its content.
It works great (and I was pleasantly surprised to see that if using indentation, the tab automatically offers a way to collapse them, super useful!)
What would be even better is if I could define colors to highlight specific things (eg. difference between keys and values in my screenshot). Is that possible today somehow?
The text was updated successfully, but these errors were encountered:
For now, it tries to parse the content. If it can parse to the JSON, it will be rendered as a JSON with correct syntax highlighting. Otherwise, it renders as plain text.
We can support some built-in syntax highlighting from Monaco Editor, such as HTML, CSS, XML, .... which is easy to do.
To support customize syntax highlighting, it's more difficult because I need to compile the Monaco Editor at built time, including all available syntax.
Is there a way to assign colors to the Custom Previewer Tab?
In my use case, the response body is a complex JSON object, and I'd like to show a text-based overview of its content.
It works great (and I was pleasantly surprised to see that if using indentation, the tab automatically offers a way to collapse them, super useful!)
What would be even better is if I could define colors to highlight specific things (eg. difference between keys and values in my screenshot). Is that possible today somehow?
The text was updated successfully, but these errors were encountered: