Skip to content

Instantly share code, notes, and snippets.

@paaljoachim
Last active Jan 8, 2016
Embed
What would you like to do?
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