Small update to our Moodle Gist Filter plugin.
Now when you embed a gist with multiple files you’re also able to only embed single files.
If you’re pasting in the normal link from a gist it’ll still work the same way. All files from that gist will show up on your Moodle page. But, now if you only want to embed a single file you can add
?file=filename.ext to the end of the URL that you paste into Moodle and only that file will embed.
You can find documentation on the Moodle Gist Filter plugin here, or view the source on GitHub.