Skip to content
This repository has been archived by the owner on Oct 14, 2022. It is now read-only.

Commit

Permalink
modified README
Browse files Browse the repository at this point in the history
  • Loading branch information
mnewt committed Aug 9, 2012
2 parents 46de4f7 + 49161de commit a3431a0
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions README.md
@@ -1,7 +1,7 @@
google-code-prettify wrapper
=======================

Wraps Google Code Prettify into a nice little bow for easy inclusion into any website or blog. Nothing new has been created here, it is packaged up nicely.
This repository serves up google prettify. It allows you to add code highlighting to any page without hosting any files. It has no external dependencies--just pure javascript.


# Directions
Expand All @@ -11,13 +11,13 @@ The end of your html template should look like this:

```html
<!-- ======================= Begin Prettify ============================-->
<link rel="stylesheet"
href="https://raw.github.com/mnewt/prettify-wrapper/master/google-code-prettify/src/prettify.css">
<script
src="https://raw.github.com/mnewt/prettify-wrapper/master/google-code-prettify/src/prettify.js"
type="text/javascript"></script>
<script src="https://raw.github.com/mnewt/prettify-wrapper/master/styleCode.js"
type="text/javascript"></script>
<link rel="stylesheet" type="text/css" rel="stylesheet"
href="http://mnewt.github.com/prettify-wrapper/prettify.css">
<script type="text/javascript"
src="https://raw.github.com/mnewt/prettify-wrapper/master/google-code-prettify/src/prettify.js">
</script>
<script type="text/javascript" src="https://raw.github.com/mnewt/prettify-wrapper/master/styleCode.js">
</script>
<!-- ======================== End Prettify =============================-->
</body>
</html>
Expand All @@ -32,4 +32,9 @@ There are a few themes included in the package itself:
http://google-code-prettify.googlecode.com/svn/trunk/styles/index.html

[jmblog](https://github.com/jmblog) maintains some nice themes:
http://jmblog.github.com/color-themes-for-google-code-prettify/
http://jmblog.github.com/color-themes-for-google-code-prettify/

Lastly, here are some themes I'm hosting. They are slightly modified versions of the ones found above.
* http://mnewt.github.com/prettify-wrapper/themes/tomorrow-mnewt.css
* http://mnewt.github.com/prettify-wrapper/themes/tomorrow-night-mnewt.css
* http://mnewt.github.com/prettify-wrapper/themes/tomorrow-night-eighties-mnewt.css

0 comments on commit a3431a0

Please sign in to comment.