Skip to content

Instantly share code, notes, and snippets.

@alienlebarge
Last active September 20, 2023 08:49
Show Gist options
  • Save alienlebarge/605560c2961cb3025038 to your computer and use it in GitHub Desktop.
Save alienlebarge/605560c2961cb3025038 to your computer and use it in GitHub Desktop.
Is there an easy way to link image in markdown files ? https://twitter.com/alienlebarge/status/318429504479580162

Is there an easy way to link image in a GIST ?

I wish there is a simple way to add image to Gist like the first one because when I visualize my Markdown file locally, the links are broken.
Is there any ?

The easy way

![dodgetocat_v2](dodgetocat_v2.png)
dodgetocat_v2

The less easy way

![dodgetocat_v2](605560c2961cb3025038/dodgetocat_v2.png)
dodgetocat_v2

The hard way

![dodgetocat_v2](https://gist.github.com/alienlebarge/605560c2961cb3025038/raw/b75d209134f0fb64f04a5ee9ff274ceabf6e26e8/dodgetocat_v2.png)
dodgetocat_v2

The HTML way

<img src="dodgetocat_v2.png" alt="dodgetocat_v2">
dodgetocat_v2

@alienlebarge
Copy link
Author

@cben
Copy link

cben commented Mar 26, 2015

@jasonszhao
Copy link

Does not work for me anymore on both Safari 10 and Chrome 59.
screen shot 2017-10-11 at 9 38 55 pm

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