bootstrap-wysiwyg icon indicating copy to clipboard operation
bootstrap-wysiwyg copied to clipboard

Convert Google Prettify.js Links to CDN Links

Open spreadred opened this issue 8 years ago • 4 comments

Convert Google code-prettify links to use CDN and the new preferred method of loading: run_prettify.js which no longer requires separate includes of prettify.css

Addresses issue #115

spreadred avatar Mar 14 '17 15:03 spreadred

Yes. Here a link to a jsfiddle which simply includes run_prettify.js without the CSS.

spreadred avatar Mar 14 '17 18:03 spreadred

Looks like I messed up my PR. The only intended commit for this PR is the first commit on March 14 relating to the addition of the CDN links in the examples.

spreadred avatar Mar 25 '17 18:03 spreadred

@kaptainkommie did you want to cancel and re-open this PR with the cherry picked changes? Or go ahead with it as it is?

steveathon avatar Aug 19 '17 03:08 steveathon

According to repo info rawgit.com was turned off October 2019.

It's possible to use this CDN now https://cdn.jsdelivr.net/gh/google/code-prettify@master/loader/run_prettify.js

yarkm13 avatar May 21 '22 23:05 yarkm13