I just got started with Markdown. I love it, but there is one thing bugging me: How can I change the size of an image using Markdown?
The documentation only gives the following suggestion for an image:
 If it is possible I would like the picture to also be centered. I am asking for general Markdown, not just how GitHub does it.
There are a lot of Markdown flavors, but the ones that most of you are familiar with is Github Flavor Markdown (GFM). Unfortunately, the syntax does not support resizing image syntax out of the box. In order to change the image size in Markdown, you have to use raw HTML.
With certain Markdown implementations (including Mou and Marked 2 (only macOS)) you can append =WIDTHxHEIGHT after the URL of the graphic file to resize the image. Do not forget the space before the =.
 You can skip the HEIGHT
 And Width

You could just use some HTML in your Markdown:
<img src="drawing.jpg" alt="drawing" width="200"/> Or via style attribute (not supported by GitHub)
<img src="drawing.jpg" alt="drawing" style="width:200px;"/> Or you could use a custom CSS file as described in this answer on Markdown and image alignment
 CSS in another file:
img[alt=drawing] { width: 200px; }
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With