MarkdownInlineImages is a plugin that renders your images below their link. Why? Because markdown is just great, except for images. Reading a markdown file is really easy, almost as easy as a it can be once it's converted to HTML for example, if you have a good color scheme. Except for images. This plugin just completes this gap ๐
So, to use it, just press alt+i, or, from the command palette, select
MarkdownInlineImages: Render Images
. All the images will rendered.
When you press alt+i, the image are rendered, except if you haven't made any change to the buffer, it'll hide all of them. So, if you want to hide the images, just press twice alt+i.
You can use images loaded from internet, or relative to your file. The support formats are:
PNG
BMP
JPG
GIF
Note: Every images rendered is cached in a single file. Even the local ones (because they are
converted to base64
)
Yes, you can!
This is a personal preference... But, I added a settings so that it fits your need (stop looking behind you, I'm talking to you ๐)
Open up your settings:
- from the command palette (ctrl+shift+p) and search for
Preferences: MarkdownInlineImages Settings
- from the menus: Preferences โ Package Settings โ MarkdownInlineImages
And set the setting display_image_above_markup
to true
. Here's what you'll get:
Pro tip: images are clickable.