-
Notifications
You must be signed in to change notification settings - Fork 1
embedding images
Jose M Vidal edited this page Apr 17, 2017
·
5 revisions
To embed an image you need a URL to it. If you git-clone your wiki locally you can then just add the image to the wiki directory and then link to it using a relative link. As shown below, using standard markdown.
![bros](img/bros.jpg)
But, if you want to change the width or height of the image you have to use HTML, with the width and height attributes. Yes, you can embed bits of HTML in your markdown. It will work:
<img src="img/bros.jpg" alt="Beagle Bros" width="100"/>
If you want to do everything from github itself, one way is to upload your images to a dummy issue (like this one) and then use that url.
![Layton](https://cloud.githubusercontent.com/assets/228704/24554016/26484378-15fa-11e7-91e7-a1c966ae4569.jpg)