How do I use a prettify.js theme?

1.2k Views Asked by At

There's a set of "themes" for prettify.js.

How do I actually use them? Do I <link href=""> to a selected "theme" .css file instead of prettify.css file or do I do anything else? What's the procedure?

1

There are 1 best solutions below

0
On BEST ANSWER

Just replace the default CSS file with your theme's CSS file:

<link href="sunburst.css" type="text/css" rel="stylesheet" />