Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Zoomable image in markdown

I am embedding a large image on github wiki. But it turns to be unreadable due to its size. Is it possible to make an image zoomable in markdown language? Specifically, on github wiki?

Thank you.

like image 710
KinaneD Avatar asked Jul 22 '15 09:07

KinaneD


People also ask

How do I display an image in a Markdown file?

Images can be added to any markdown page using the following markdown syntax: ![ alt text for screen readers](/path/to/image. png "Text to show on mouseover") .

Can you embed images in Markdown?

You can add images to Markdown using the [alt text](image_url) syntax.


1 Answers

Simplest solution is to make a small version of the image (with GIMP/Photoshop etc.) and wrap it in a link to the original image.

[ ![](small.jpg) ](large.jpg)

Other solutions would require having custom CSS or JavaScript which you don't have on GitHub wikis etc.

like image 156
mb21 Avatar answered Sep 19 '22 08:09

mb21