There are two different ways to contribute a new snippet:
Fixes and enhancements to an existing snippet are also welcome! Again, you can contribute a change to a snippet or its documentation using either of the two approaches above.
What a good pull request looks like
Here's a checklist for what a good pull request (PR) will have:
a folder at the top level of the repo with the name of your script in PascalCase, such as DoImportantThing. (Start the script name with a verb.)
In the DoImportantThing folder, a DoImportantThing.js file that contains your snippet code.
In the DoImportantthing folder, a DoImportantThing.md file that contains the documentation for your snippet. See SampleSiteBeforeSignup.md for conventions. If it would be helpful for your documentation to include a screenshot of what visual effect the snippet will have, see MenuHighlighter.md for conventions on how to include that in the doc page.
A new line in SUMMARY.md with a link to your snippet.
CSS and HTML in your snippet
What am I agreeing to by contributing to this repository?
By submitting a pull request, issue, or any other content to this repository, you agree that your contributions are governed by the MIT License and represent that there are no claims on your contributions which would conflict with that license.