DEV Community

hidao
hidao

Posted on

3 1 1

Created VS Code extension: "Embed images in markdown".

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...

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay