Markdown preview pane disappeared
Normal behavior: when I open *.md files Goland showed split view with markdown code on the left and preview pane on the right. But recently Goland began to show only markdown code without preview pane.
I checked settings, they are correct:
Languages & Frameworks > Markdown
Default layout: Editor and Preview
What I tried to fix the issue:
- restart IDE
- restart computer
- split view
- disable and enable markdown plugin
- switched Default layout to Editor and then back to Editor and Preview
nothing of abovementioned attempts helped.
MacOS Sequoia, Macbook M1GoLand 2025.1Build #GO-251.23774.430
Would appreciate any guidance or suggestions for resolving this issue.
Thanks,
Dmitrii
请先登录再写评论。
Thank you for the report. To help us understand the issue better, could you please share a screenshot of the editor with an open *.md file? You might also find it helpful to invalidate your caches: https://www.jetbrains.com/help/go/invalidate-caches.html
Hi, Svetlana. Thank you for your prompt reply!
I tried invalidating caches - no effect.
Here is a screenshot with README.md opened. Goland shows only source code. Previously I would see split view with markdown code on the left and preview on the right.
Dmitrypkh Thank you for the screenshot! It looks like your
.mdfile is currently set to the Go Template file type (possibly due to an issue with file type auto-detection). To fix this, could you please:Here is the screenshot of what the context menu would look like:
Let me know if that works.
Thanks! It worked.
The only issue - this approach requires to manually override file type for each *.md file.
I want Goland to treat any *.md file as Markdown. Some extra steps helped me to achieve that. Maybe it will also help users who will face the same issue who want any *.md file to be treated as markdown:
Navigate to File > Settings > Editor > File TypesSearch for "Go template files" and remove *.md extensionThen search for Markdown and add *.md thereClick Apply