Domanda

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?

È stato utile?

Soluzione

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

<link href="sunburst.css" type="text/css" rel="stylesheet" />
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top