Add a button for visitors to go to GitHub and edit the page.

Sample text:

  • Improve this page
  • Edit this page
  • Edit on GitHub
  • Edit this page on GitHub

For an icon, use one of:

  • Unicode emoji, safe to use in HTML: 📝
  • FontAwesome logo: <i class="fa fa-pencil"></i>

Jekyll

<a href="https://github.com/MichaelCurrin/dev-cheatsheets/edit/master/cheatsheets/jekyll/templating/edit-this-page.md">
    Improve this page
</a>

See also the _includes folder of this repo.

DocsifyJS

For DocsifyJS, use a plugin: