Skip to content

Instantly share code, notes, and snippets.

@paaljoachim
Last active January 8, 2016 10:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save paaljoachim/c8155daa585ed1ea7eaf to your computer and use it in GitHub Desktop.
Save paaljoachim/c8155daa585ed1ea7eaf to your computer and use it in GitHub Desktop.
A test gist
Another file
More code below.
More code here
Another test gist in the same group.
Additional code
Even more code.
The original file name is: name-of-test-gist. NB! Use a dash or underscore between the words so there are no spaces.
The permalink of this test gist is:
https://gist.github.com/paaljoachim/c8155daa585ed1ea7eaf#file-name-of-test-gist
But looking at the gist at github it contains 3 files. - Click the title of the gist below and you will see what it looks like at Github.
To show only this gist file one has to modify the original permalink of this file.
Remove the user name
change # -> ?
change file- -> file=
The result: https://gist.github.com/c8155daa585ed1ea7eaf?file=name-of-test-gist
The individual file of a gist should now show up in the content area in a page or post.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment