Pycharm Markdown Preview displays CSS code instead of rendered content
Answered
The PyCharm (or another JetBrains IDE with the Markdown plugin) Markdown Preview pane is failing to render the markdown content of a .md file. Instead of displaying the formatted text, it shows raw CSS styling code. This occurs consistently whenever a markdown file is opened and the preview pane is visible.
The CSS code displayed appears to be from the preview's own internal styling rules, specifically for a context menu and info box. The preview is completely unusable as a result.

I run PyCharm 2025.2 (252.23892.439) on Windows 11.
I would be very grateful for any help!
Please sign in to leave a comment.
Similar case here.
Both 2025.2 community and normal versions - preview pane not functioning on Ubuntu 24 - showing blank.
Please create a new bug report on YouTrack and make sure to provide the IDE logs from Help | Collect Logs and Diagnostic Data
PyCharm 2025.2.3 Bug Fix: Browser Rendering Issues
I'm using PyCharm 2025.2.3, and this bug affects not only Markdown but also plugins and other tools that use browser-based HTML/CSS for rendering.
After analyzing my logs following
Collect Logs and Diagnostic Data, I found two solutions:Solution 1: Markdown-Specific Fix (Per Project)
This will resolve the issue only for Markdown, and you'll need to apply it to each project until the bug is officially fixed:
Solution 2: Enable JCEF in Registry (Global Fix)
ide.browser.jcef.out-of-process.enabledand enable itHi Iliyabrook1987, this seems to be related to JBR-9462. You can vote for the issue to receive updates on its resolution.