I'd like to pick up on this discussion, as I'm also very interested in being able to resize my images via markdown. Currently I ressort to converting the markdown images into html img tags which is quite paintaking :confused:

There are some markdown versions that allow to specify the dimensions. This is not standard. > But, if there was a markdown-it-enhanced-img or something, we could easily add it to Joplin.

Some allow something like:

![pic](https://example.com/pic.jpg =150x100)
![pic](https://example.com/pic.jpg =150x) # height not necessary, will be calculated

I like that idea! I have taken a look at npmjs.com to find a suitable markdown-it plugin and apparently there is one: @tlylt/markdown-it-imsize - npm

It does exactly what we want. From the README:

![test](image.png =100x200)

is interpreted as

<p><img src="image.png" alt="test" width="100" height="200"></p>

I think the automatic calculation of height if omitted is not implemented yet but we could create an PR for that.

If the repository owner is not responsive, I would also offer to fork this repository and publish and updated version to npmjs.

(Beware that the repository link is wrongly going to the original project which is not working. Use the homepage link to take a look at the code or click here)