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
When the AI generates code, it outputs it using markdown formatting (e.g., triple backticks). However, when applying the generated code, the markdown syntax itself is included, causing invalid syntax.
The markdown sytanx is shown in AI output as well as when the code snippet is applied.
To Reproduce
Ask the AI assistant to generate a code snippet.
Observer that the output in AI Chat will sometimes include markdown formatting.
Apply the generated code into an empty file.
Observe that markdown formatting is included in the file contents.
Expected behavior: Only raw code should be copied or inserted into files, without markdown or formatting characters.
OS: Windows 10
Browser: Chrome
Version: 141.0.7390.123 (Official Build) (64-bit)