If you are using Jupyter Notebook and your markdown images are not showing up, there could be a few different reasons for this issue. In this article, we will explore three different solutions to help you troubleshoot and fix the problem.
Solution 1: Check the image file path
The first thing you should do is double-check the file path of your image. Make sure that the image file is located in the correct directory and that the file name and extension are spelled correctly. It’s also important to note that Jupyter Notebook uses relative file paths, so make sure the path is correct relative to the notebook file.

Solution 2: Verify the image format
Another possible reason for the images not showing up is that they are in a format that Jupyter Notebook does not support. Jupyter Notebook supports various image formats such as JPEG, PNG, and GIF. If your image is in a different format, you may need to convert it to a supported format before it can be displayed.

Solution 3: Clear the output cache
If the above solutions did not work, it’s possible that the output cache of your Jupyter Notebook is causing the issue. To clear the output cache, you can restart the kernel of your notebook. This will clear all the outputs and reset the notebook to its initial state.
from IPython.display import display, HTML
display(HTML("<script>Jupyter.notebook.kernel.restart()"))
After trying these three solutions, you should be able to resolve the issue of markdown images not showing up in Jupyter Notebook. However, the best option among these three solutions depends on the specific cause of the problem. If the issue is related to the file path or image format, Solution 1 or Solution 2 would be more appropriate. On the other hand, if the problem is due to the output cache, Solution 3 would be the most effective.