-
Notifications
You must be signed in to change notification settings - Fork 31.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable markdown formatting in showInformationMessage by default #20595
Comments
/сс @bpasero |
I was not aware we support markdown in the message API. |
@hatroman we support a subset of formatting for messages, not full markdown:
You can prefix with |
it would be better if i could choose. Sometimes I have calculated value for message and don't now what kind of symbols it contains. Now I will have to escape every time each message. 😞 |
That would require new API for extensions and the default cannot be that we disable this formatting, otherwise we break existing extensions. |
👌 thanks anyway |
re #20595 (comment) - we should measure how often that actually happens. We never really documented this and the deal is then that we try to see how is using it, inform them, and change it. |
I've found an open issue (#6087) about markdown in show*Message. And I assume that this functionality is not implemented yet. But if I try to show message with
__
(double underscore), for exampleabc__def
, underscore characters will be lost and the rest of the text will be italic. I have not found how to disable this type of formattingSteps to Reproduce:
window.showInformationMessage('abc__def');
def
in italicThe text was updated successfully, but these errors were encountered: