I would just like to point out that the javascript copy and paste code on the preview page of a repository throws a console log saying it's deprecated. Maybe it should be updated to the correct one we should use?
The console thankfully gives the proper code to use, but it also points to the javascript documentation which refers back to the preview page.