Skip to content

Latest commit

 

History

History
23 lines (14 loc) · 1.08 KB

File metadata and controls

23 lines (14 loc) · 1.08 KB

Contribute to Prism!

Important Notice

We are currently working on Prism v2 and will only accept security-relevant PRs for the time being.

Once work on Prism v2 is sufficiently advanced, we will accept regular PRs again. This will be announced on our Discussions page.


Prism v1 contributing notes

Prism depends on community contributions to expand and cover a wider array of use cases. If you like it, consider giving back by sending a pull request. Here are a few tips:

  • Read the documentation. Prism was designed to be extensible.

  • Do not edit prism.js. It is generated automatically for the website. Edit only the unminified files in the components/ folder.

  • Use npm ci to install dependencies. Do not use npm install, as it may produce non-deterministic builds.

  • The build system uses Gulp to minify files and build prism.js. After installing dependencies, run:

    npm run build