Embed code from GitHub to GitHub Pages blog like Gist


I’ve found this nifty little tool that can embed codes directly from your GitHub repositories without using Gist. It’s very easy to use. For example, if you want to embed, say, this whole file, you only need to add this snippet somewhere in your file. <script charset="UTF-8" src=""></script> The ?footer=minimal part is optional. It will look something like this: It can also embed just a section of code based on line numbers.

Gist-It · Github-Pages · Jekyll

1 minute