A wider selection of Prism themes
This repository lists a selection of additional themes for the Prism syntax highlighting library.
To use one of the themes, just include the theme's CSS file in your page. Example:
... <link href="themes/prism-ghcolors.css" rel="stylesheet"> ... <script src="prism.js"></script>
To add your own theme, copy it into the
themesdirectory and add your themes to the list of available themes in the readme. The links for your themes have to be
themes/prism-.cssfor the theme itself and
screenshots/prism-.pngfor the screenshot.
The screenshot will be created for you by running the following command:
npm i && npx gulp screenshot
Before making a pull request, you can the following command to verify that all checks pass:
Thank you so much for contributing!!