如何将我的 github-flavored-markdown 要点托管为网页

How to host my github-flavored-markdown gist as a webpage

我在 GitHub 上使用 GitHub Flavored Markdown 创建了一个 "todo" Gist。有什么方法可以将它托管在我的在线 DigitalOcean 服务器上吗?

要点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.

将从 Gist 复制的 <script> 标签粘贴到服务器上托管的网页中,例如

<!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>