I have been wanting to embed JPEGs and PNGs in Markdown instead of PlantUML and Mermaid for a while, and I came up with a way to do it, so I implemented it.
Although the file size will be larger and the Markdown source will be very ugly, it has the advantage of storing multiple image files in one Markdown file.
Perhaps a similar extension already exists, but I couldn't find it after a little searching, so I decided to develop it.
This extension is published on the marketplace.
Marketplace: Embed images in markdown
postscript:
It looks like a similar technique could be used to embed zip files in markdown files, but I have a feeling it could be used for some evil purpose...
Top comments (0)