Gist

Github’s gist service let’s you store text files that can be embedded in websites.

API

By hosting json files such as response.json, I can serve static “API” responses to some of my own projects and services, such as my Redirecting api

Embedding

To hide the Github footer, add this:

<style>
.gist .gist-meta { display:none; }
</style>

<script>-Tag

To embed a specific file out of multiple attached to single a gist, append this: ?file=filename.md

<iframe>