Copilot Markdown Code Blocks Not Rendering in Microsoft Edge (Works Correctly in Google Chrome)

Stefan Arsić 20 Reputation points
2026-08-03T12:03:28.67+00:00

I'm experiencing an issue in Microsoft Copilot when using Microsoft Edge.

Markdown code blocks are not displayed correctly. Instead of the actual code, I only see gray loading/skeleton placeholders. Regular text renders normally.

The same conversation and the same Microsoft account work correctly in Google Chrome, where code blocks are displayed without issues.

Troubleshooting performed:

  • Disabled hardware acceleration
  • Reset Edge flags
  • Restarted Edge
  • Inspected the page using DevTools

Technical findings:

  • <pre> and <code> elements exist in the DOM
  • Code content is present and accessible via innerText and textContent
  • CSS properties appear normal (display: block, visibility: visible, opacity: 1)
  • Browser console reports:

Cannot find module './src/CodeBlockStrings.json'

Expected behavior: Code blocks should render normally in Microsoft Edge, as they do in Google Chrome.

Actual behavior: Only gray skeleton placeholders are displayed instead of the code content.

I'm experiencing an issue in Microsoft Copilot when using Microsoft Edge.

Markdown code blocks are not displayed correctly. Instead of the actual code, I only see gray loading/skeleton placeholders. Regular text renders normally.

The same conversation and the same Microsoft account work correctly in Google Chrome, where code blocks are displayed without issues.

Troubleshooting performed:

  • Disabled hardware acceleration
  • Reset Edge flags
  • Restarted Edge
  • Inspected the page using DevTools

Technical findings:

  • <pre> and <code> elements exist in the DOM
  • Code content is present and accessible via innerText and textContent
  • CSS properties appear normal (display: block, visibility: visible, opacity: 1)
  • Browser console reports:

Cannot find module './src/CodeBlockStrings.json'

Expected behavior: Code blocks should render normally in Microsoft Edge, as they do in Google Chrome.

Actual behavior: Only gray skeleton placeholders are displayed instead of the code content.

Microsoft Copilot | Windows Copilot | App
0 comments No comments

Answer accepted by question author
Bjørn Tore 80 Reputation points
2026-08-04T09:37:01.3666667+00:00

Check the language settings in both browsers.

Code blocks work in English, but they do not seem to work in other languages.

Was this answer helpful?

1 person found this answer helpful.

5 additional answers

Sort by: Oldest
  1. Mike Robins 5 Reputation points
    2026-08-12T14:37:55.1466667+00:00

    It's essentially unusable at this point. When will this be fixed?

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.