Browse files

modified README

  • Loading branch information...
2 parents 46de4f7 + 49161de commit a3431a0b942bb917af6568a0ade622b973b551d9 @mnewt committed Aug 9, 2012
Showing with 14 additions and 9 deletions.
  1. +14 −9 README.md
View
23 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
@@ -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>
@@ -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.