Skip to content

Instantly share code, notes, and snippets.

@MrCoder
Last active April 6, 2017 23:57
Show Gist options
  • Save MrCoder/b5ec1309623fb59148dd1b3cabf31bbc to your computer and use it in GitHub Desktop.
Save MrCoder/b5ec1309623fb59148dd1b3cabf31bbc to your computer and use it in GitHub Desktop.
markdown image resize with examples
  1. Normal image in markdown (original size)

![](http://www.5besttools.com/wp-content/uploads/2017/04/qrcode.png)

Test

Real examples can be found here. 5 best BPMN stencils

  1. Solution 1 works almost everywhere: <img src="http://www.5besttools.com/wp-content/uploads/2017/04/qrcode.png" width="150">

Test

  1. 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 =. It does not work with external images.

![](./2017/04/qrcode.png =100x20)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment