Is there a Content Delivery Network (CDN) that hosts Google Code Prettify?
Solution 1:
Found it!
http://www.cdnjs.com/libraries/prettify
<script src="http://cdnjs.cloudflare.com/ajax/libs/prettify/r298/run_prettify.js" type="text/javascript"></script>
<link href="http://cdnjs.cloudflare.com/ajax/libs/prettify/r298/prettify.css" type="text/css">
Update: https://github.com/cdnjs/cdnjs/issues/695 (see bottom of page)
Solution 2:
There is a CDN for prettify:
https://cdn.jsdelivr.net/gh/google/code-prettify@master/loader/run_prettify.js
Its use is explained on the official code-prettify repository. You can use it with a skin, like this:
<script src="https://cdn.jsdelivr.net/gh/google/code-prettify@master/loader/run_prettify.js?skin=desert"></script>
That way you don't have to worry about additional CSS files. For more details and a full list of URL configurations, check the Getting Started section.
As mentioned by Jan Šotola, the previous RawGit CDN was shut down.
Read more details on migrating away from deprecated RawGit.
Solution 3:
I believe you could use it directly from Google Code though.. ?
embeding
http://google-code-prettify.googlecode.com/svn/trunk/src/prettify.js