Reputation: 105
I have created a "todo" Gist using GitHub Flavored Markdown on GitHub. Is there any way to host it on my online DigitalOcean server?
Upvotes: 0
Views: 394
Reputation: 137159
Gists can be embedded with JavaScript:
You can embed a gist in any text field that supports Javascript, such as a blog post. To get the embed code, click the clipboard icon next to the Embed URL of a gist.
Paste the <script>
tag copied from the Gist into a web page hosted on your server, e.g.
<!DOCTYPE html>
<html>
<head>
<title>To do list</title>
</head>
<body>
<h1>To do list</h1>
<script src="https://gist.github.com/user/gist_id.js"></script>
</body>
</html>
Upvotes: 2