Skip to content

Instantly share code, notes, and snippets.

@nacersalaheddine
Forked from vinkla/CDN.md
Created May 14, 2019 03:55
Show Gist options
  • Save nacersalaheddine/1c5cedca783c5ed8e9cd6cd5f72e0f21 to your computer and use it in GitHub Desktop.
Save nacersalaheddine/1c5cedca783c5ed8e9cd6cd5f72e0f21 to your computer and use it in GitHub Desktop.
A guide on how to upload images to GitHub's CDN through issue and pull request text fields.

Upload Images to GitHub's CDN

  1. First, visit any repository on GitHub and click your way through to the issues page.

  2. Create a new issue by clicking the button New Issue. You'll now see both a title and a description field.

  3. Drag-and-drop an image on to the description field. This will start the uploading process.

  4. Copy the URL and use it in README, issues or pull requests however you like.

Example of uploading image to GitHub's CDN

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