Markdown preview issues
Answered
Hi there,
When I used Markdown formatting text, into a file .md, I noticed issues in doing bold and italic mode, as you can see on the screenshot.
Thank you

Please sign in to leave a comment.
Hi. Please provide idea.log (Help | Show log...).
Hi, it's a known issue, our developers are working on it: https://youtrack.jetbrains.com/issue/JBR-1221
Thank you :) Then, I should use another JDK to solve it.
Still an issue (March,2020) with PyCharm.
JBR-1221 is still open.
Will the Markdown ever work in Intellij products?
- bold / italic broken
- strike through broken
- cant copy to clipboard from rendered preview
- image height/width not working
- inpage header anchor links don't work
....
(My event log is empty while experiencing these bugs, fresh install of phpStorm 2020.2.1)
> bold / italic broken?
>strike through broken
Can't reproduce: https://i.imgur.com/C4ZZoDw.png
Please define your OS and IDE version. Try also to enable JCEF: https://i.imgur.com/82p2hmm.png
> cant copy to clipboard from rendered preview
Will be fixed in IntelliJ IDEA 2020.3: https://youtrack.jetbrains.com/issue/IDEA-241604
> image height/width not working
Also working fine for me: https://i.imgur.com/OoyhkLR.png
Markdown preview works OK (bold, italic, lists, headings, html etc.) except for rendering cyrillic and some CP1252 chars where it renders question marks. Besides that I've tried to insert some other Unicode char e.g. emojis and they were rendered correctly.
The setting for the editor is UTF-8.
IntelliJ IDEA 2020.2.4 (Community Edition)
Build #IC-202.8194.7, built on November 24, 2020
Runtime version: 11.0.9+11-b944.49 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10 10.0
@... Please try to add -Dfile.encoding=UTF-8 VM option to (Help | Edit Custom VM Options...) section and restart the IDE. It also makes sense to download the 2020.3 beta version from https://www.jetbrains.com/idea/nextversion.
Thanks. Adding -Dfile.encoding=UTF-8 solved the problem.
p.s.
I forgot to mention in my previous post that everything was fine in IDEA CE 2020.1.1 till the next update.
Running into the same issue here with some emoji. They appear fine in the editor for a markdown file, but not in the preview:
Hi Sturm359,
Try to add -Dfile.encoding=UTF-8 VM option to (Help | Edit Custom VM Options...) section and restart the IDE.
I updated to the latest version today—PhpStorm 2020.3—and things have gotten even worse. I tried adding your custom VM option with no effect.
Sturm359,
It looks like you encountered another problem. Here are the related issues:
- https://youtrack.jetbrains.com/issue/IDEA-251211
- https://youtrack.jetbrains.com/issue/IDEA-256650
If the issue is critical for you please consider using the previous version from https://www.jetbrains.com/phpstorm/download/other.html .
Thank you, Egor. The issue is non-critical, thankfully, but I appreciate your research and finding that this is a known issue and is currently open. 😊