Test suite to check the image support for the markdown preview by <img>
tag in mark down of jetbrains products.
- Test environment
- Setup
- Working
- Absolute external www
- Absolute local file protocol
- Absolute local file path
- Not working
- Relative local file path
- Additional information
- Hover preview working, but not markdown preview
IntelliJ IDEA 2021.2 (Ultimate Edition)
Build #IU-212.4746.92, built on July 27, 2021
Licensed to IntelliJ IDEA Evaluator
Expiration date: September 4, 2021
Runtime version: 11.0.11+9-b1504.13 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10 10.0
GC: G1 Young Generation, G1 Old Generation
Memory: 750M
Cores: 4
Kotlin: 212-1.5.10-release-IJ4746.92
Copy the image file folder img
of this project to C:\Temp
so you have C:\Temp\img
with the image files inside.
If you are running on macOS or Linux, search and replace C:\Temp\img\
with on your own solution, e.g.: /tmp/img/
<img src="https://upload.wikimedia.org/wikipedia/commons/thumb/1/1a/JetBrains_Logo_2016.svg/121px-JetBrains_Logo_2016.svg.png">
<img src="file:///C:\Temp\img\jetbrains_logo.png">
<img src="C:\Temp\img\jetbrains_logo.png">
<img src="img/jetbrains_logo.png">