diff --git a/CHANGES.md b/CHANGES.md index a4a5bdc5..7371e7c8 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -13,15 +13,15 @@ ## 29 March 2007 - * Added [tests](https://rawgit.com/google/code-prettify/master/tests/prettify_test.html#PHP) + * Added [tests](https://raw.githack.com/google/code-prettify/master/tests/prettify_test.html#php) for PHP support to address issue [#3](https://github.com/google/code-prettify/issues/3). * Fixed bug [#6](https://github.com/google/code-prettify/issues/6): `prettyPrintOne` was not halting. This was not reachable through the normal entry point. * Fixed bug [#4](https://github.com/google/code-prettify/issues/4): recursing into a script block or PHP tag that was not properly closed would not silently drop the content. - ([test](https://rawgit.com/google/code-prettify/master/tests/prettify_test.html#issue4)) + ([test](https://raw.githack.com/google/code-prettify/master/tests/prettify_test.html#js_script)) * Fixed bug [#8](https://github.com/google/code-prettify/issues/8): was eating tabs - ([test](https://rawgit.com/google/code-prettify/master/tests/prettify_test.html#issue8)) + ([test](https://raw.githack.com/google/code-prettify/master/tests/prettify_test.html#issue8)) * Fixed entity handling so that the caveat > Caveats: please properly escape less-thans. `x<y` instead of `x + ``` * See [Getting Started](docs/getting_started.md) to configure that URL with options you need. @@ -229,10 +229,10 @@ general feedback. [Apache License 2.0](COPYING) -[1]: https://rawgit.com/google/code-prettify/master/styles/index.html -[2]: https://rawgit.com/google/code-prettify/master/examples/quine.html +[1]: https://raw.githack.com/google/code-prettify/master/styles/index.html +[2]: https://raw.githack.com/google/code-prettify/master/examples/quine.html [3]: http://dev.w3.org/html5/spec-author-view/the-code-element.html#the-code-element -[4]: https://rawgit.com/google/code-prettify/master/tests/prettify_test.html +[4]: https://raw.githack.com/google/code-prettify/master/tests/prettify_test.html [5]: http://wordpress.org/support/topic/125038 -[6]: https://rawgit.com/google/code-prettify/master/tests/prettify_test.html#issue22 +[6]: https://raw.githack.com/google/code-prettify/master/tests/prettify_test.html#issue22 [7]: http://groups.google.com/group/js-code-prettifier diff --git a/distrib/prettify-small.zip b/distrib/prettify-small.zip index 94a69b92..c63da471 100644 Binary files a/distrib/prettify-small.zip and b/distrib/prettify-small.zip differ diff --git a/docs/getting_started.md b/docs/getting_started.md index ad256667..81221bfe 100644 --- a/docs/getting_started.md +++ b/docs/getting_started.md @@ -29,14 +29,14 @@ code here ``` -[Larger example](https://rawgit.com/google/code-prettify/master/examples/quine.html) +[Larger example](https://raw.githack.com/google/code-prettify/master/examples/quine.html) ## Auto-Loader You can load the JavaScript and CSS for prettify via one URL: ```HTML - + ``` This will load the entire system and schedule the prettifier to run on page @@ -47,18 +47,18 @@ arguments) to configure the runner. | --------------------- | ------- | ------------------------------ | | autorun=(true, false) | true | run automatically on page load | | lang=... | none | Loads the language handler for the given language which is usually the file extension for source files for that language. See the [index of language handlers](../src). If specified multiple times (`?lang=css&lang=ml`) then all are loaded. | -| skin=... | none | See the [skin gallery](https://cdn.rawgit.com/google/code-prettify/master/styles/index.html). If specified multiple times, the first one to successfully load is used. | +| skin=... | none | See the [skin gallery](https://raw.githack.com/google/code-prettify/master/styles/index.html). If specified multiple times, the first one to successfully load is used. | | callback=js_ident | | `window.exports["js_ident"]` will be called when prettyprinting finishes. If specified multiple times, all are called. | For example: ```HTML - + ``` The above specifies the `lang` parameter to also load the CSS language extension and the `skin` parameter to load the -[*sunburst*](https://cdn.rawgit.com/google/code-prettify/master/styles/index.html#sunburst) +[*sunburst*](https://raw.githack.com/google/code-prettify/master/styles/index.html#sunburst) skin. ## Serving your own JS & CSS @@ -87,7 +87,7 @@ so you can swap in a different stylesheet to change the way code is prettified. The easiest way to create your own stylesheet is by starting with one from the -[style gallery](https://cdn.rawgit.com/google/code-prettify/master/styles/index.html) +[style gallery](https://raw.githack.com/google/code-prettify/master/styles/index.html) and tweaking it. You can use CSS `@media` rules to specify styles that work well with printers diff --git a/examples/quine.html b/examples/quine.html index 158753b2..d43eb11e 100644 --- a/examples/quine.html +++ b/examples/quine.html @@ -5,7 +5,7 @@ Making Quines Prettier - +