Skip to content

Commit f20e152

Browse files
authored
Add top link to rawgit migration announcement
Also pulls in ncruces patches to this file from https://github.com/google/code-prettify/pull/573/files
1 parent 453bd5f commit f20e152

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

README.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# JavaScript code prettifier
22

3+
Announcement: [**Action required** *rawgit.com* is going away](https://groups.google.com/forum/#!topic/js-code-prettifier/IFHev_kLm30).
4+
35
An embeddable script that makes source-code snippets in HTML prettier.
46

57
* Works on HTML pages.
@@ -21,7 +23,7 @@ An embeddable script that makes source-code snippets in HTML prettier.
2123

2224
* Include the script tag below in your document:
2325
```HTML
24-
<script src="https://cdn.rawgit.com/google/code-prettify/master/loader/run_prettify.js"></script>
26+
<script src="https://cdn.jsdelivr.net/gh/google/code-prettify@master/loader/run_prettify.js"></script>
2527
```
2628
* See [Getting Started](docs/getting_started.md) to configure that URL with
2729
options you need.
@@ -229,10 +231,10 @@ general feedback.
229231
[Apache License 2.0](COPYING)
230232

231233

232-
[1]: https://rawgit.com/google/code-prettify/master/styles/index.html
233-
[2]: https://rawgit.com/google/code-prettify/master/examples/quine.html
234+
[1]: https://raw.githack.com/google/code-prettify/master/styles/index.html
235+
[2]: https://raw.githack.com/google/code-prettify/master/examples/quine.html
234236
[3]: http://dev.w3.org/html5/spec-author-view/the-code-element.html#the-code-element
235-
[4]: https://rawgit.com/google/code-prettify/master/tests/prettify_test.html
237+
[4]: https://raw.githack.com/google/code-prettify/master/tests/prettify_test.html
236238
[5]: http://wordpress.org/support/topic/125038
237-
[6]: https://rawgit.com/google/code-prettify/master/tests/prettify_test.html#issue22
239+
[6]: https://raw.githack.com/google/code-prettify/master/tests/prettify_test.html#issue22
238240
[7]: http://groups.google.com/group/js-code-prettifier

0 commit comments

Comments
 (0)