-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Convert Google Prettify.js Links to CDN Links #116
base: 2.0-dev
Are you sure you want to change the base?
Conversation
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this working without prettify.css?
Yes. Here a link to a jsfiddle which simply includes |
Added instructions on how to properly initialize multiple editors on the same page. Proper initialization and usage resolves steveathon#117 steveathon#110 steveathon#31
Added Multiple Editors Instructions
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. |
@kaptainkommie did you want to cancel and re-open this PR with the cherry picked changes? Or go ahead with it as it is? |
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 |
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