You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I do jist -d "example description" -f file.sh file, I create a gist with the name of file.sh and with Shell syntax highlighting. Next, when I initialize a git repository and push file to reponame, my gist changes, so its filename becomes file and Shell syntax highlighting disappears. I get no highlighting at all.
@Gen2ly This would be very useful! Unfortunately the ability is not exposed via the API that jist is using (http://developer.github.com/v3/gists/). The auto-detection done by "git push"ing to the remote looks pretty buggy (in your example it's highlighted the file as Perl —search for "language": https://api.github.com/gists/3242078) so I don't really want to make jist use this directly.
If you can think of a reliable way to do it, please do re-open the issue.
Is it possible to select the language without having to use the extension? I noticed by accident that I can do this by doing:
jist -p -d "example description" -f file.sh file
and then
push
ing it:where file is the filename without the extension. and by doing this, I am able to get syntaxhighlighting without the extension example.
Because of this I was wondering if it was possible, or could this just be a loophole?
The text was updated successfully, but these errors were encountered: