Permalink
Browse files

cleaned up

  • Loading branch information...
mnewt committed Aug 9, 2012
1 parent bd81103 commit c9dbc374a270d420be113b6243192d97c0348aa5
Showing with 0 additions and 181 deletions.
  1. +0 −9 reference.html
  2. +0 −40 source/README.md
  3. +0 −132 tomorrow-night-mnewt.css
View
@@ -1,9 +0,0 @@
-<!-- ======================= 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>
-<!-- ======================== End Prettify =============================-->
View
@@ -1,40 +0,0 @@
-google-code-prettify wrapper
-=======================
-
-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
-
-**ONE**: copy the code in `reference.html` into your web page, at the end of the file right before `</body>`
-The end of your html template should look like this:
-
-```html
-<!-- ======================= Begin Prettify ============================-->
- <link rel="stylesheet" type="text/css" rel="stylesheet"
- href="http://mnewt.github.com/prettify-wrapper/tomorrow-mnewt.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>
-```
-**TWO**: (optional): customize the theme by pointing the first line to a different CSS file, such as this one:
-https://raw.github.com/mnewt/prettify-wrapper/master/tomorrow-night-mnewt.css
-
-
-# Themes
-
-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/
-
-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
View
@@ -1,132 +0,0 @@
-/* Tomorrow Night Theme */
-/* Original theme - https://github.com/chriskempson/tomorrow-theme */
-/* Pretty printing styles. Used with prettify.js. */
-/* SPAN elements with the classes below are added by prettyprint. */
-/* plain text */
-
-.pln {
- color: #c5c8c6; }
-
-@media screen {
- /* string content */
- .str {
- color: #b5bd68; }
-
- /* a keyword */
- .kwd {
- color: #b294bb; }
-
- /* a comment */
- .com {
- color: #969896; }
-
- /* a type name */
- .typ {
- color: #81a2be; }
-
- /* a literal value */
- .lit {
- color: #de935f; }
-
- /* punctuation */
- .pun {
- color: #c5c8c6; }
-
- /* lisp open bracket */
- .opn {
- color: #c5c8c6; }
-
- /* lisp close bracket */
- .clo {
- color: #c5c8c6; }
-
- /* a markup tag name */
- .tag {
- color: #cc6666; }
-
- /* a markup attribute name */
- .atn {
- color: #de935f; }
-
- /* a markup attribute value */
- .atv {
- color: #8abeb7; }
-
- /* a declaration */
- .dec {
- color: #de935f; }
-
- /* a variable name */
- .var {
- color: #cc6666; }
-
- /* a function name */
- .fun {
- color: #81a2be; } }
-/* Use higher contrast and text-weight for printable form. */
-@media print, projection {
- .str {
- color: #060; }
-
- .kwd {
- color: #006;
- font-weight: bold; }
-
- .com {
- color: #600;
- font-style: italic; }
-
- .typ {
- color: #404;
- font-weight: bold; }
-
- .lit {
- color: #044; }
-
- .pun, .opn, .clo {
- color: #440; }
-
- .tag {
- color: #006;
- font-weight: bold; }
-
- .atn {
- color: #404; }
-
- .atv {
- color: #060; } }
-/* Style */
-pre.prettyprint {
- background: #1d1f21;
- /* font-family: Menlo, Monaco, Consolas, monospace; */
- font-family: "Open Sans","Helvetica Neue",Helvetica,Arial,sans-serif;
- font-size: 11px;
- line-height: 1.5;
- border: 1px solid #ccc;
- padding: 10px; }
-
-/* Specify class=linenums on a pre to get line numbering */
-ol.linenums {
- margin-top: 0;
- margin-bottom: 0; }
-
-/* IE indents via margin-left */
-li.L0,
-li.L1,
-li.L2,
-li.L3,
-li.L4,
-li.L5,
-li.L6,
-li.L7,
-li.L8,
-li.L9 {
- /* */ }
-
-/* Alternate shading for lines */
-li.L1,
-li.L3,
-li.L5,
-li.L7,
-li.L9 {
- /* */ }

0 comments on commit c9dbc37

Please sign in to comment.