GitXplorerGitXplorer
e

nicegist

public
3 stars
1 forks
0 issues

Commits

List of commits on branch master.
Verified
18265ef67433f97c95239b200ea0975d03199d6c

Update README.md

eeyecatchup committed 6 years ago
Unverified
114c82a401761c96308ce1713c02dd52d1860003

cleanup

committed 6 years ago
Unverified
3d8762316e5bf331f69324d9cefa5edeecaa320d

fix typo

committed 6 years ago
Unverified
98dd90eb42741fc74125600a33361a049c86e483

fix typo

committed 6 years ago
Unverified
4e8e6f08032fb18ff11f659b1c8b09ebebdf1f6b

header anchor styling

committed 6 years ago
Unverified
84f77c94625a7baba9a2b1d554aac86fe70b804f

smooth anchor scrolling

committed 6 years ago

README

The README file for this repository.

NOTE: Repo moved to https://github.com/nicegist/nicegist.github.io

Nicegist - a permanent gist.io alternative

writing for hackers · zero setup · publish in seconds

A pure JavaScript gist.io replacement, hosted on GitHub*.

* As long as GitHub exists, it will not die. Yay!

About

When I recognized that gist.io is dead, I stumbled upon a comment in gist.io's issue tracker, that suggested to build a pure JavaScript implementation to be hosted on GitHub pages.

I liked the idea. Thus, Nicegist was born.

Features

  • 💥 Supports gist embedding (use <gist> tags, i.e. <gist>file.sh</gist>)
  • Supports public and secret gists
  • Supports CommonMark / GFM syntax
  • Automatic code block syntax highlighting
  • Automatic headline anchors

Usage

  1. Create a gist on Github with one or more Markdown-syntax files.
  2. Note the gist ID. (It's usually a longish alpha-numeric string like dab5cf7977008e504213.)
  3. View your writing presented nicely at eyecatchup.github.io/nicegist/YOUR_GIST_ID

Bookmarklet:

Be lazy and drag the Nicegist bookmarklet to your bookmarks bar.
Click it when you’re on a gist page, and it will take you to the corresponding Nicegist page.

javascript:(function(){if(location.hostname==="gist.github.com"){var gistId=location.pathname.split("/").pop();if(location.pathname.split("/").length>2&&gistId.length)location.href="https://eyecatchup.github.io/nicegist/?id="+gistId}})();

Examples:

Under the hood

License

(c) 2019, Stephan Schmitz eyecatchup@gmail.com
License: MIT, http://eyecatchup.mit-license.org
URL: https://eyecatchup.github.io/nicegist