How do I use a prettify.js theme?
-
26-06-2021 - |
Question
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?
La solution
Just replace the default CSS file with your theme's CSS file:
<link href="sunburst.css" type="text/css" rel="stylesheet" />
Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow