This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
prismjs with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
Prism is a lightweight, robust, elegant syntax highlighting library. It's a spin-off project from Dabblet.
You can learn more on prismjs.com.
Prism depends on community contributions to expand and cover a wider array of use cases. If you like it, considering giving back by sending a pull request. Here are a few tips:
prism.js, it’s just the version of Prism used by the Prism website and is built automatically. Limit your changes to the unminified files in the
components/folder. The minified files are also generated automatically.
prism.js. Having gulp installed, you just need to run the command
components.jsonas well and rebuild Prism by running
gulp, so that it becomes available to the download build page. For new languages, please also add a few tests and an example in the
Thank you so much for contributing!!