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
The default JSON hover from monaco-json displays the JSON schema definition description corresponding to the hovered property. When the description contains markdown, it is interpreted as raw text. I am assuming this is due to the isTrusted property of Hover being set to false. Surprisingly, indents of 4 spaces are interpreted as code blocks.
Would it be possible to trust the JSON schema description ? Is this a bug or an intended feature ?
Keep up the great work !
The text was updated successfully, but these errors were encountered:
As description is part of the standard JSON schema format we assume it is raw text.
For markdown descriptions, the VSCode/MonacoJSON language service looks for the property markdownDescription. That's not standardized, but if you don't mind, use it.
Related to:
The default JSON hover from monaco-json displays the JSON schema definition
description
corresponding to the hovered property. When the description contains markdown, it is interpreted as raw text. I am assuming this is due to theisTrusted
property ofHover
being set tofalse
. Surprisingly, indents of 4 spaces are interpreted as code blocks.Would it be possible to trust the JSON schema description ? Is this a bug or an intended feature ?
Keep up the great work !
The text was updated successfully, but these errors were encountered: