color-themes-for-google-code-prettify icon indicating copy to clipboard operation
color-themes-for-google-code-prettify copied to clipboard

Yo what's going on with the documentation

Open ORESoftware opened this issue 6 years ago • 1 comments

I am looking here: https://github.com/google/code-prettify

and here: https://rawgit.com/google/code-prettify/master/examples/quine.html

I see this example:

<script src="https://rawgit.com/google/code-prettify/master/loader/run_prettify.js?autoload=true&amp;skin=sunburst&amp;lang=css" defer=""></script>

note it has skin=sunburst as a query option param in the url..

so how do we load these themes in this repo? can we use the skin option as a query parameter or..?

ORESoftware avatar Feb 18 '19 01:02 ORESoftware

Hi @ORESoftware,

I think you have to serve the prettify.js and the theme CSS file yourself.

Please check the doc below: https://github.com/google/code-prettify/blob/master/docs/getting_started.md#serving-your-own-js--css

jmblog avatar Feb 20 '19 04:02 jmblog