Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yo what's going on with the documentation #17

Open
ORESoftware opened this issue Feb 18, 2019 · 1 comment
Open

Yo what's going on with the documentation #17

ORESoftware opened this issue Feb 18, 2019 · 1 comment

Comments

@ORESoftware
Copy link

ORESoftware commented Feb 18, 2019

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..?

@jmblog
Copy link
Owner

jmblog commented Feb 20, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants