mdpress 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. data/bin/mdpress +20 -8
  2. data/lib/css/highlight.css +127 -0
  3. data/lib/css/highlight_styles/arta.css +158 -0
  4. data/lib/css/highlight_styles/ascetic.css +50 -0
  5. data/lib/css/highlight_styles/brown_paper.css +104 -0
  6. data/lib/css/highlight_styles/brown_papersq.png +0 -0
  7. data/lib/css/highlight_styles/dark.css +103 -0
  8. data/lib/css/highlight_styles/default.css +135 -0
  9. data/lib/css/highlight_styles/far.css +111 -0
  10. data/lib/css/highlight_styles/github.css +127 -0
  11. data/lib/css/highlight_styles/googlecode.css +144 -0
  12. data/lib/css/highlight_styles/idea.css +121 -0
  13. data/lib/css/highlight_styles/ir_black.css +104 -0
  14. data/lib/css/highlight_styles/magula.css +121 -0
  15. data/lib/css/highlight_styles/monokai.css +114 -0
  16. data/lib/css/highlight_styles/pojoaque.css +104 -0
  17. data/lib/css/highlight_styles/pojoaque.jpg +0 -0
  18. data/lib/css/highlight_styles/rainbow.css +114 -0
  19. data/lib/css/highlight_styles/school_book.css +111 -0
  20. data/lib/css/highlight_styles/school_book.png +0 -0
  21. data/lib/css/highlight_styles/solarized_dark.css +88 -0
  22. data/lib/css/highlight_styles/solarized_light.css +88 -0
  23. data/lib/css/highlight_styles/sunburst.css +158 -0
  24. data/lib/css/highlight_styles/tomorrow-night-blue.css +52 -0
  25. data/lib/css/highlight_styles/tomorrow-night-bright.css +51 -0
  26. data/lib/css/highlight_styles/tomorrow-night-eighties.css +51 -0
  27. data/lib/css/highlight_styles/tomorrow-night.css +52 -0
  28. data/lib/css/highlight_styles/tomorrow.css +49 -0
  29. data/lib/css/highlight_styles/vs.css +86 -0
  30. data/lib/css/highlight_styles/xcode.css +154 -0
  31. data/lib/css/highlight_styles/zenburn.css +115 -0
  32. data/lib/css/reset.css +5 -1
  33. data/lib/impress_css/default.css +1 -1
  34. data/lib/impress_renderer.rb +6 -4
  35. data/lib/js/highlight.pack.js +1 -0
  36. metadata +35 -6
  37. data/lib/css/prettify.css +0 -42
  38. data/lib/js/prettify.js +0 -47
@@ -0,0 +1,114 @@
1
+ /*
2
+ Monokai style - ported by Luigi Maselli - http://grigio.org
3
+ */
4
+
5
+ pre code {
6
+ display: block; padding: 0.5em;
7
+ background: #272822;
8
+ }
9
+
10
+ pre .tag,
11
+ pre .tag .title,
12
+ pre .keyword,
13
+ pre .literal,
14
+ pre .change,
15
+ pre .winutils,
16
+ pre .flow,
17
+ pre .lisp .title,
18
+ pre .clojure .built_in,
19
+ pre .nginx .title,
20
+ pre .tex .special {
21
+ color: #F92672;
22
+ }
23
+
24
+ pre code {
25
+ color: #DDD;
26
+ }
27
+
28
+ pre code .constant {
29
+ color: #66D9EF;
30
+ }
31
+
32
+ pre .class .title {
33
+ color: white;
34
+ }
35
+
36
+ pre .attribute,
37
+ pre .symbol,
38
+ pre .symbol .string,
39
+ pre .value,
40
+ pre .regexp {
41
+ color: #BF79DB;
42
+ }
43
+
44
+ pre .tag .value,
45
+ pre .string,
46
+ pre .subst,
47
+ pre .title,
48
+ pre .haskell .type,
49
+ pre .preprocessor,
50
+ pre .ruby .class .parent,
51
+ pre .built_in,
52
+ pre .sql .aggregate,
53
+ pre .django .template_tag,
54
+ pre .django .variable,
55
+ pre .smalltalk .class,
56
+ pre .javadoc,
57
+ pre .django .filter .argument,
58
+ pre .smalltalk .localvars,
59
+ pre .smalltalk .array,
60
+ pre .attr_selector,
61
+ pre .pseudo,
62
+ pre .addition,
63
+ pre .stream,
64
+ pre .envvar,
65
+ pre .apache .tag,
66
+ pre .apache .cbracket,
67
+ pre .tex .command,
68
+ pre .prompt {
69
+ color: #A6E22E;
70
+ }
71
+
72
+ pre .comment,
73
+ pre .java .annotation,
74
+ pre .python .decorator,
75
+ pre .template_comment,
76
+ pre .pi,
77
+ pre .doctype,
78
+ pre .deletion,
79
+ pre .shebang,
80
+ pre .apache .sqbracket,
81
+ pre .tex .formula {
82
+ color: #75715E;
83
+ }
84
+
85
+ pre .keyword,
86
+ pre .literal,
87
+ pre .css .id,
88
+ pre .phpdoc,
89
+ pre .title,
90
+ pre .haskell .type,
91
+ pre .vbscript .built_in,
92
+ pre .sql .aggregate,
93
+ pre .rsl .built_in,
94
+ pre .smalltalk .class,
95
+ pre .diff .header,
96
+ pre .chunk,
97
+ pre .winutils,
98
+ pre .bash .variable,
99
+ pre .apache .tag,
100
+ pre .tex .special,
101
+ pre .request,
102
+ pre .status {
103
+ font-weight: bold;
104
+ }
105
+
106
+ pre .coffeescript .javascript,
107
+ pre .javascript .xml,
108
+ pre .tex .formula,
109
+ pre .xml .javascript,
110
+ pre .xml .vbscript,
111
+ pre .xml .css,
112
+ pre .xml .cdata {
113
+ opacity: 0.5;
114
+ }
@@ -0,0 +1,104 @@
1
+ /*
2
+
3
+ Pojoaque Style by Jason Tate
4
+ http://web-cms-designs.com/ftopict-10-pojoaque-style-for-highlight-js-code-highlighter.html
5
+ Based on Solarized Style from http://ethanschoonover.com/solarized
6
+
7
+ */
8
+
9
+ pre code {
10
+ display: block; padding: 0.5em;
11
+ color: #DCCF8F;
12
+ background: url(./pojoaque.jpg) repeat scroll left top #181914;
13
+ }
14
+
15
+ pre .comment,
16
+ pre .template_comment,
17
+ pre .diff .header,
18
+ pre .doctype,
19
+ pre .lisp .string,
20
+ pre .javadoc {
21
+ color: #586e75;
22
+ font-style: italic;
23
+ }
24
+
25
+ pre .keyword,
26
+ pre .css .rule .keyword,
27
+ pre .winutils,
28
+ pre .javascript .title,
29
+ pre .method,
30
+ pre .addition,
31
+ pre .css .tag,
32
+ pre .clojure .title,
33
+ pre .nginx .title {
34
+ color: #B64926;
35
+ }
36
+
37
+ pre .number,
38
+ pre .command,
39
+ pre .string,
40
+ pre .tag .value,
41
+ pre .phpdoc,
42
+ pre .tex .formula,
43
+ pre .regexp,
44
+ pre .hexcolor {
45
+ color: #468966;
46
+ }
47
+
48
+ pre .title,
49
+ pre .localvars,
50
+ pre .function .title,
51
+ pre .chunk,
52
+ pre .decorator,
53
+ pre .built_in,
54
+ pre .lisp .title,
55
+ pre .clojure .built_in,
56
+ pre .identifier,
57
+ pre .id {
58
+ color: #FFB03B;
59
+ }
60
+
61
+ pre .attribute,
62
+ pre .variable,
63
+ pre .lisp .body,
64
+ pre .smalltalk .number,
65
+ pre .constant,
66
+ pre .class .title,
67
+ pre .parent,
68
+ pre .haskell .type {
69
+ color: #b58900;
70
+ }
71
+
72
+ pre .css .attribute {
73
+ color: #b89859;
74
+ }
75
+
76
+ pre .css .number,pre .css .hexcolor{
77
+ color: #DCCF8F;
78
+ }
79
+
80
+ pre .css .class {
81
+ color: #d3a60c;
82
+ }
83
+
84
+ pre .preprocessor,
85
+ pre .pi,
86
+ pre .shebang,
87
+ pre .symbol,
88
+ pre .symbol .string,
89
+ pre .diff .change,
90
+ pre .special,
91
+ pre .attr_selector,
92
+ pre .important,
93
+ pre .subst,
94
+ pre .cdata {
95
+ color: #cb4b16;
96
+ }
97
+
98
+ pre .deletion {
99
+ color: #dc322f;
100
+ }
101
+
102
+ pre .tex .formula {
103
+ background: #073642;
104
+ }
@@ -0,0 +1,114 @@
1
+ /*
2
+
3
+ Style with support for rainbow parens
4
+
5
+ */
6
+
7
+ pre ::-moz-selection{ background: #FF5E99; color:#fff; text-shadow: none; }
8
+ pre ::selection { background:#FF5E99; color:#fff; text-shadow: none; }
9
+
10
+ pre code {
11
+ display: block; padding: 0.5em;
12
+ background: #474949; color: #D1D9E1;
13
+ }
14
+
15
+
16
+ pre .body,
17
+ pre .collection {
18
+ color: #D1D9E1;
19
+ }
20
+
21
+ pre .comment,
22
+ pre .template_comment,
23
+ pre .diff .header,
24
+ pre .doctype,
25
+ pre .lisp .string,
26
+ pre .javadoc {
27
+ color: #969896;
28
+ font-style: italic;
29
+ }
30
+
31
+ pre .keyword,
32
+ pre .clojure .attribute,
33
+ pre .winutils,
34
+ pre .javascript .title,
35
+ pre .addition,
36
+ pre .css .tag {
37
+ color: #cc99cc;
38
+ }
39
+
40
+ pre .number { color: #f99157; }
41
+
42
+ pre .command,
43
+ pre .string,
44
+ pre .tag .value,
45
+ pre .phpdoc,
46
+ pre .tex .formula,
47
+ pre .regexp,
48
+ pre .hexcolor {
49
+ color: #8abeb7;
50
+ }
51
+
52
+ pre .title,
53
+ pre .localvars,
54
+ pre .function .title,
55
+ pre .chunk,
56
+ pre .decorator,
57
+ pre .built_in,
58
+ pre .lisp .title,
59
+ pre .identifier
60
+ {
61
+ color: #b5bd68;
62
+ }
63
+
64
+ pre .class .keyword
65
+ {
66
+ color: #f2777a;
67
+ }
68
+
69
+ pre .variable,
70
+ pre .lisp .body,
71
+ pre .smalltalk .number,
72
+ pre .constant,
73
+ pre .class .title,
74
+ pre .parent,
75
+ pre .haskell .label,
76
+ pre .id,
77
+ pre .lisp .title,
78
+ pre .clojure .title .built_in {
79
+ color: #ffcc66;
80
+ }
81
+
82
+ pre .tag .title,
83
+ pre .rules .property,
84
+ pre .django .tag .keyword,
85
+ pre .clojure .title .built_in {
86
+ font-weight: bold;
87
+ }
88
+
89
+ pre .attribute,
90
+ pre .clojure .title {
91
+ color: #81a2be;
92
+ }
93
+
94
+ pre .preprocessor,
95
+ pre .pi,
96
+ pre .shebang,
97
+ pre .symbol,
98
+ pre .symbol .string,
99
+ pre .diff .change,
100
+ pre .special,
101
+ pre .attr_selector,
102
+ pre .important,
103
+ pre .subst,
104
+ pre .cdata {
105
+ color: #f99157;
106
+ }
107
+
108
+ pre .deletion {
109
+ color: #dc322f;
110
+ }
111
+
112
+ pre .tex .formula {
113
+ background: #eee8d5;
114
+ }
@@ -0,0 +1,111 @@
1
+ /*
2
+
3
+ School Book style from goldblog.com.ua (c) Zaripov Yura <yur4ik7@ukr.net>
4
+
5
+ */
6
+
7
+ pre code {
8
+ display: block; padding: 15px 0.5em 0.5em 30px;
9
+ font-size: 11px !important;
10
+ line-height:16px !important;
11
+ }
12
+
13
+ pre{
14
+ background:#f6f6ae url(./school_book.png);
15
+ border-top: solid 2px #d2e8b9;
16
+ border-bottom: solid 1px #d2e8b9;
17
+ }
18
+
19
+ pre .keyword,
20
+ pre .literal,
21
+ pre .change,
22
+ pre .winutils,
23
+ pre .flow,
24
+ pre .lisp .title,
25
+ pre .clojure .built_in,
26
+ pre .nginx .title,
27
+ pre .tex .special {
28
+ color:#005599;
29
+ font-weight:bold;
30
+ }
31
+
32
+ pre code,
33
+ pre .subst,
34
+ pre .tag .keyword {
35
+ color: #3E5915;
36
+ }
37
+
38
+ pre .string,
39
+ pre .title,
40
+ pre .haskell .type,
41
+ pre .tag .value,
42
+ pre .css .rules .value,
43
+ pre .preprocessor,
44
+ pre .ruby .symbol,
45
+ pre .ruby .symbol .string,
46
+ pre .ruby .class .parent,
47
+ pre .built_in,
48
+ pre .sql .aggregate,
49
+ pre .django .template_tag,
50
+ pre .django .variable,
51
+ pre .smalltalk .class,
52
+ pre .javadoc,
53
+ pre .ruby .string,
54
+ pre .django .filter .argument,
55
+ pre .smalltalk .localvars,
56
+ pre .smalltalk .array,
57
+ pre .attr_selector,
58
+ pre .pseudo,
59
+ pre .addition,
60
+ pre .stream,
61
+ pre .envvar,
62
+ pre .apache .tag,
63
+ pre .apache .cbracket,
64
+ pre .nginx .built_in,
65
+ pre .tex .command {
66
+ color: #2C009F;
67
+ }
68
+
69
+ pre .comment,
70
+ pre .java .annotation,
71
+ pre .python .decorator,
72
+ pre .template_comment,
73
+ pre .pi,
74
+ pre .doctype,
75
+ pre .deletion,
76
+ pre .shebang,
77
+ pre .apache .sqbracket {
78
+ color: #E60415;
79
+ }
80
+
81
+ pre .keyword,
82
+ pre .literal,
83
+ pre .css .id,
84
+ pre .phpdoc,
85
+ pre .title,
86
+ pre .haskell .type,
87
+ pre .vbscript .built_in,
88
+ pre .sql .aggregate,
89
+ pre .rsl .built_in,
90
+ pre .smalltalk .class,
91
+ pre .xml .tag .title,
92
+ pre .diff .header,
93
+ pre .chunk,
94
+ pre .winutils,
95
+ pre .bash .variable,
96
+ pre .apache .tag,
97
+ pre .tex .command,
98
+ pre .request,
99
+ pre .status {
100
+ font-weight: bold;
101
+ }
102
+
103
+ pre .coffeescript .javascript,
104
+ pre .javascript .xml,
105
+ pre .tex .formula,
106
+ pre .xml .javascript,
107
+ pre .xml .vbscript,
108
+ pre .xml .css,
109
+ pre .xml .cdata {
110
+ opacity: 0.5;
111
+ }
@@ -0,0 +1,88 @@
1
+ /*
2
+
3
+ Orginal Style from ethanschoonover.com/solarized (c) Jeremy Hull <sourdrums@gmail.com>
4
+
5
+ */
6
+
7
+ pre code {
8
+ display: block; padding: 0.5em;
9
+ background: #002b36; color: #839496;
10
+ }
11
+
12
+ pre .comment,
13
+ pre .template_comment,
14
+ pre .diff .header,
15
+ pre .doctype,
16
+ pre .pi,
17
+ pre .lisp .string,
18
+ pre .javadoc {
19
+ color: #586e75;
20
+ font-style: italic;
21
+ }
22
+
23
+ pre .keyword,
24
+ pre .winutils,
25
+ pre .method,
26
+ pre .addition,
27
+ pre .css .tag,
28
+ pre .request,
29
+ pre .status,
30
+ pre .nginx .title {
31
+ color: #859900;
32
+ }
33
+
34
+ pre .number,
35
+ pre .command,
36
+ pre .string,
37
+ pre .tag .value,
38
+ pre .phpdoc,
39
+ pre .tex .formula,
40
+ pre .regexp,
41
+ pre .hexcolor {
42
+ color: #2aa198;
43
+ }
44
+
45
+ pre .title,
46
+ pre .localvars,
47
+ pre .chunk,
48
+ pre .decorator,
49
+ pre .built_in,
50
+ pre .identifier,
51
+ pre .vhdl .literal,
52
+ pre .id {
53
+ color: #268bd2;
54
+ }
55
+
56
+ pre .attribute,
57
+ pre .variable,
58
+ pre .lisp .body,
59
+ pre .smalltalk .number,
60
+ pre .constant,
61
+ pre .class .title,
62
+ pre .parent,
63
+ pre .haskell .type {
64
+ color: #b58900;
65
+ }
66
+
67
+ pre .preprocessor,
68
+ pre .preprocessor .keyword,
69
+ pre .shebang,
70
+ pre .symbol,
71
+ pre .symbol .string,
72
+ pre .diff .change,
73
+ pre .special,
74
+ pre .attr_selector,
75
+ pre .important,
76
+ pre .subst,
77
+ pre .cdata,
78
+ pre .clojure .title {
79
+ color: #cb4b16;
80
+ }
81
+
82
+ pre .deletion {
83
+ color: #dc322f;
84
+ }
85
+
86
+ pre .tex .formula {
87
+ background: #073642;
88
+ }
@@ -0,0 +1,88 @@
1
+ /*
2
+
3
+ Orginal Style from ethanschoonover.com/solarized (c) Jeremy Hull <sourdrums@gmail.com>
4
+
5
+ */
6
+
7
+ pre code {
8
+ display: block; padding: 0.5em;
9
+ background: #fdf6e3; color: #657b83;
10
+ }
11
+
12
+ pre .comment,
13
+ pre .template_comment,
14
+ pre .diff .header,
15
+ pre .doctype,
16
+ pre .pi,
17
+ pre .lisp .string,
18
+ pre .javadoc {
19
+ color: #93a1a1;
20
+ font-style: italic;
21
+ }
22
+
23
+ pre .keyword,
24
+ pre .winutils,
25
+ pre .method,
26
+ pre .addition,
27
+ pre .css .tag,
28
+ pre .request,
29
+ pre .status,
30
+ pre .nginx .title {
31
+ color: #859900;
32
+ }
33
+
34
+ pre .number,
35
+ pre .command,
36
+ pre .string,
37
+ pre .tag .value,
38
+ pre .phpdoc,
39
+ pre .tex .formula,
40
+ pre .regexp,
41
+ pre .hexcolor {
42
+ color: #2aa198;
43
+ }
44
+
45
+ pre .title,
46
+ pre .localvars,
47
+ pre .chunk,
48
+ pre .decorator,
49
+ pre .built_in,
50
+ pre .identifier,
51
+ pre .vhdl .literal,
52
+ pre .id {
53
+ color: #268bd2;
54
+ }
55
+
56
+ pre .attribute,
57
+ pre .variable,
58
+ pre .lisp .body,
59
+ pre .smalltalk .number,
60
+ pre .constant,
61
+ pre .class .title,
62
+ pre .parent,
63
+ pre .haskell .type {
64
+ color: #b58900;
65
+ }
66
+
67
+ pre .preprocessor,
68
+ pre .preprocessor .keyword,
69
+ pre .shebang,
70
+ pre .symbol,
71
+ pre .symbol .string,
72
+ pre .diff .change,
73
+ pre .special,
74
+ pre .attr_selector,
75
+ pre .important,
76
+ pre .subst,
77
+ pre .cdata,
78
+ pre .clojure .title {
79
+ color: #cb4b16;
80
+ }
81
+
82
+ pre .deletion {
83
+ color: #dc322f;
84
+ }
85
+
86
+ pre .tex .formula {
87
+ background: #eee8d5;
88
+ }