highlight-css

Pygments is a Python-based code highlighting tool that comes with a set of built-in “styles” (not CSS) for code highlighting, and Rouge is a Ruby-based clone that is style-compatible (and used by Jekyll!) with its own distinct set of built-in “themes”.

The gallery below previews all of the stylesheets generated by both of these tools, plus some popular community themes, with links to CSS files you can use on your own website:

Other

Pygments

Rouge


If you have a great Pygments-compatible stylesheet that you’d like to share, feel free to post it in a pull request or as an issue!

You can see the versions of the tools that produced these stylesheets in the repository’s requirements.txt and Gemfile.lock.