diogoscf / github-lines

A minimal and non-intrusive multi-platform bot to display lines from GitHub (or GitLab) links
MIT License
60 stars 10 forks source link

Support secret GitHub gists #7

Closed radiantly closed 3 years ago

radiantly commented 3 years ago

On selecting a line in a gist, #filename-linenumber is appended to the url. Maybe the bot can show relevant line(s)?

diogoscf commented 3 years ago

This is supported already

radiantly commented 3 years ago

Doing a bit of recon, I realised that public gists work as expected, but secret gists do not.

Is there any way this functionality can be made to work with secret gists, or does the API not support it?

diogoscf commented 3 years ago

It also works with secret gists?

radiantly commented 3 years ago

Hmm, there's something weird going on here, it works with some gists and doesn't work with others ..

diogoscf commented 3 years ago

9