I'm writing a wiki page on GitHub, and I'm using Markdown.
My problem is that I'm putting a large image (this image is in its own repository) and I need resize it.
I have tried different solutions, but they do not work:
![image](http://url.to/image.png "Title" {width=40px height=400px})
![image](http://url.to/image.png = 250x250)
![image](http://url.to/image.png = 250x)
[[http://url.to/image.png = 250x]]
Is there a way to get it?
It is preferable without HTML.
On GitHub, you can use HTML directly instead of Markdown:
This should make it.
In December 2015, it seems that only links to files on
github.com
orcloud.githubusercontent.com
or the like work. Steps that worked for me in a gist:Mygist.md
(and optionally more files)Mygist.md
.But: GitHub people may change this behavior tomorrow, without documenting it.
GitHub Pages now uses kramdown as its markdown engine so you can use the following syntax:
http://kramdown.gettalong.org/syntax.html#images
I haven't tested it on GitHub wiki though.
Updated:
Code (external/internal):
Code (internal/external for sizing):
Example:
Old Answer:
This should work:
[[ http://url.to/image.png | height = 100px ]]Source: https://guides.github.com/features/mastering-markdown/