reveal-jekyll 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +21 -0
  3. data/README.md +94 -0
  4. data/_includes/basements.html +7 -0
  5. data/_includes/head.html +39 -0
  6. data/_includes/reveal.html +25 -0
  7. data/_layouts/presentation.html +26 -0
  8. data/_layouts/raw.html +20 -0
  9. data/assets/css/print/paper.css +203 -0
  10. data/assets/css/print/pdf.css +164 -0
  11. data/assets/css/reset.css +30 -0
  12. data/assets/css/reveal.css +1598 -0
  13. data/assets/css/reveal.scss +1768 -0
  14. data/assets/css/rouge-highlight/monokai.css +210 -0
  15. data/assets/css/theme/README.md +21 -0
  16. data/assets/css/theme/beige.css +277 -0
  17. data/assets/css/theme/black.css +273 -0
  18. data/assets/css/theme/blood.css +296 -0
  19. data/assets/css/theme/league.css +279 -0
  20. data/assets/css/theme/moon.css +277 -0
  21. data/assets/css/theme/night.css +271 -0
  22. data/assets/css/theme/serif.css +273 -0
  23. data/assets/css/theme/simple.css +276 -0
  24. data/assets/css/theme/sky.css +280 -0
  25. data/assets/css/theme/solarized.css +277 -0
  26. data/assets/css/theme/source/beige.scss +39 -0
  27. data/assets/css/theme/source/black.scss +49 -0
  28. data/assets/css/theme/source/blood.scss +78 -0
  29. data/assets/css/theme/source/league.scss +34 -0
  30. data/assets/css/theme/source/moon.scss +57 -0
  31. data/assets/css/theme/source/night.scss +34 -0
  32. data/assets/css/theme/source/serif.scss +35 -0
  33. data/assets/css/theme/source/simple.scss +43 -0
  34. data/assets/css/theme/source/sky.scss +46 -0
  35. data/assets/css/theme/source/solarized.scss +63 -0
  36. data/assets/css/theme/source/white.scss +49 -0
  37. data/assets/css/theme/template/mixins.scss +29 -0
  38. data/assets/css/theme/template/settings.scss +45 -0
  39. data/assets/css/theme/template/theme.scss +325 -0
  40. data/assets/css/theme/white.css +273 -0
  41. data/assets/js/reveal.js +6028 -0
  42. data/assets/lib/css/monokai.css +71 -0
  43. data/assets/lib/css/zenburn.css +80 -0
  44. data/assets/lib/font/Pacifico/Pacifico.eot +0 -0
  45. data/assets/lib/font/Pacifico/Pacifico.svg +10833 -0
  46. data/assets/lib/font/Pacifico/Pacifico.ttf +0 -0
  47. data/assets/lib/font/Pacifico/Pacifico.woff +0 -0
  48. data/assets/lib/font/Pacifico/Pacifico.woff2 +0 -0
  49. data/assets/lib/font/Pacifico/original-pacifico-regular.ttf +0 -0
  50. data/assets/lib/font/fontawesome/FontAwesome.otf +0 -0
  51. data/assets/lib/font/fontawesome/fontawesome-webfont.eot +0 -0
  52. data/assets/lib/font/fontawesome/fontawesome-webfont.svg +2671 -0
  53. data/assets/lib/font/fontawesome/fontawesome-webfont.ttf +0 -0
  54. data/assets/lib/font/fontawesome/fontawesome-webfont.woff +0 -0
  55. data/assets/lib/font/fontawesome/fontawesome-webfont.woff2 +0 -0
  56. data/assets/lib/font/league-gothic/LICENSE +2 -0
  57. data/assets/lib/font/league-gothic/league-gothic.css +10 -0
  58. data/assets/lib/font/league-gothic/league-gothic.eot +0 -0
  59. data/assets/lib/font/league-gothic/league-gothic.ttf +0 -0
  60. data/assets/lib/font/league-gothic/league-gothic.woff +0 -0
  61. data/assets/lib/font/source-sans-pro/LICENSE +45 -0
  62. data/assets/lib/font/source-sans-pro/source-sans-pro-italic.eot +0 -0
  63. data/assets/lib/font/source-sans-pro/source-sans-pro-italic.ttf +0 -0
  64. data/assets/lib/font/source-sans-pro/source-sans-pro-italic.woff +0 -0
  65. data/assets/lib/font/source-sans-pro/source-sans-pro-regular.eot +0 -0
  66. data/assets/lib/font/source-sans-pro/source-sans-pro-regular.ttf +0 -0
  67. data/assets/lib/font/source-sans-pro/source-sans-pro-regular.woff +0 -0
  68. data/assets/lib/font/source-sans-pro/source-sans-pro-semibold.eot +0 -0
  69. data/assets/lib/font/source-sans-pro/source-sans-pro-semibold.ttf +0 -0
  70. data/assets/lib/font/source-sans-pro/source-sans-pro-semibold.woff +0 -0
  71. data/assets/lib/font/source-sans-pro/source-sans-pro-semibolditalic.eot +0 -0
  72. data/assets/lib/font/source-sans-pro/source-sans-pro-semibolditalic.ttf +0 -0
  73. data/assets/lib/font/source-sans-pro/source-sans-pro-semibolditalic.woff +0 -0
  74. data/assets/lib/font/source-sans-pro/source-sans-pro.css +39 -0
  75. data/assets/lib/js/html5shiv.js +7 -0
  76. data/assets/lib/js/promise.js +2 -0
  77. data/assets/plugin/highlight/highlight.js +168 -0
  78. data/assets/plugin/markdown/example.html +134 -0
  79. data/assets/plugin/markdown/example.md +36 -0
  80. data/assets/plugin/markdown/markdown.js +446 -0
  81. data/assets/plugin/markdown/marked.js +6 -0
  82. data/assets/plugin/math/math.js +92 -0
  83. data/assets/plugin/multiplex/client.js +13 -0
  84. data/assets/plugin/multiplex/index.js +64 -0
  85. data/assets/plugin/multiplex/master.js +34 -0
  86. data/assets/plugin/multiplex/package.json +19 -0
  87. data/assets/plugin/notes-server/client.js +65 -0
  88. data/assets/plugin/notes-server/index.js +69 -0
  89. data/assets/plugin/notes-server/notes.html +585 -0
  90. data/assets/plugin/notes/notes.html +834 -0
  91. data/assets/plugin/notes/notes.js +178 -0
  92. data/assets/plugin/print-pdf/print-pdf.js +67 -0
  93. data/assets/plugin/search/search.js +206 -0
  94. data/assets/plugin/zoom-js/zoom.js +277 -0
  95. metadata +180 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: bd1c4a52aee208d4a156595e882ab2b62d4111da8a3b1552e985fd14b3931b1a
4
+ data.tar.gz: 731fcd52d618f4bee9942835117b6e0c2cd2de364289ebd95e2cb98022788df4
5
+ SHA512:
6
+ metadata.gz: ebb3c4a8b9150faca713a5a83e8d6df96d013011fa39b1561ef20ceddca5ffe5a9a194799a85eb93486c877b17c9d2daa16d406e826a3069cc01a3b53168b8f5
7
+ data.tar.gz: 297454fc44e6d9e75b64ec14a46413b037e5b960db7ed5c03c468d85c4e3244789d99ccd5323a7e97c10ac30ca9947c49ad4b4f8f1e41bd47494668fa73cf10f
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2019 Sylhare \o/
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,94 @@
1
+ # Reveal Jekyll
2
+
3
+ Reveal.js Web presentation served with jekyll.
4
+
5
+ ## Set up
6
+
7
+ Run the presentation using:
8
+
9
+ ```bash
10
+ bundle exec jekyll serve
11
+ ```
12
+
13
+ # Create your presentation
14
+
15
+ ## Raw Markdown
16
+
17
+ In `index.html` use the `layout: raw` and then you can create your slides directly in the file using markdown:
18
+
19
+ - `___` Makes a basement slide
20
+ - `---` Makes the next slide
21
+
22
+ ## Using Jekyll capabilities
23
+
24
+ In `index.html` use the `layout: presentation`. It will use the `_slides` and `_basements` folder to create the presentation.
25
+
26
+ ### Slide
27
+
28
+ Use the `_slides` folder to create a file per slide in markdown.
29
+
30
+ ```yaml
31
+
32
+ ---
33
+ background: ... # Optional to put an image or a color as the background
34
+ video: "http://video-link.mp4" # Optional to put a video as the background
35
+ transition: slide # Optional change the transition type for this slide
36
+ ---
37
+
38
+ Slide content in markdown
39
+ ```
40
+
41
+ > Don't forget to add the two `---`.
42
+
43
+ To order the presentation you can do something like `01-First-slide-title.md`, `02-Second-slide-title.md`.
44
+
45
+ ### Basement slides
46
+
47
+ Basement slides can be put in the `_basements` folder.
48
+ The Basement slides are slides that will be accessible using the down arrow when on a particular slide.
49
+
50
+ They are the sub sections of your presentation:
51
+
52
+ ```yaml
53
+
54
+ ---
55
+ slide: slide-title
56
+ ---
57
+
58
+ Content of the Basement slide in markdown
59
+
60
+ ```
61
+
62
+ > Don't forget to use the `slide` attribute to specify under which slide it will fit.
63
+
64
+ ### Config
65
+
66
+ Configure Reveal.js in teh `_config.yml`:
67
+
68
+ ```yml
69
+ reveal:
70
+ transition: "slide" # none/fade/slide/convex/concave/zoom
71
+ theme: "black" # beige/blood/league/moon/night/serif/simple/sky/solarized/white
72
+ ```
73
+
74
+ You can set globally the transitions and theme of your presentation.
75
+
76
+ # License
77
+
78
+ ## Reveal Jekyll
79
+
80
+ [Reveal Jekyll](https://github.com/sylhare/Reveal-Jekyll/blob/master/LICENSE) MIT licensed
81
+
82
+ Copyright (c) 2019 Sylhare \o/
83
+
84
+ ## Reveal.js
85
+
86
+ [Reveal.js](https://github.com/hakimel/reveal.js/) MIT licensed
87
+
88
+ Copyright (C) 2019 Hakim El Hattab, http://hakim.se
89
+
90
+ ## Jekyll
91
+
92
+ [Jekyll](https://github.com/jekyll/jekyll) MIT licensed
93
+
94
+ Copyright (c) 2008-present Tom Preston-Werner and Jekyll contributors
@@ -0,0 +1,7 @@
1
+ {% for basement in site.basements %}
2
+ {% if include.name contains basement.slide %}
3
+ <section>
4
+ {{ basement.content }}
5
+ </section>
6
+ {% endif %}
7
+ {% endfor %}
@@ -0,0 +1,39 @@
1
+ <head>
2
+ <meta charset="utf-8">
3
+ <title>reveal.js – The HTML Presentation Framework</title>
4
+ <meta name="description" content="A framework for easily creating beautiful presentations using HTML">
5
+ <meta name="author" content="Hakim El Hattab">
6
+
7
+ <meta name="apple-mobile-web-app-capable" content="yes">
8
+ <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
9
+
10
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
11
+
12
+ <!--Favicon-->
13
+ <link rel="shortcut icon" href="{{ site.favicon | relative_url }}" type="image/x-icon">
14
+
15
+ <!-- Canonical -->
16
+ <link rel="canonical" href="{{ page.url | replace:'index.html','' | absolute_url }}">
17
+
18
+ <!-- RSS -->
19
+ <link rel="alternate" type="application/atom+xml" title="{{ site.title }}" href="{{ 'feed.xml' | absolute_url }}"/>
20
+
21
+ <!-- Theme used for syntax highlighting of code -->
22
+ <link rel="stylesheet" href="{{ 'assets/lib/css/monokai.css' | relative_url }}">
23
+ <link rel="stylesheet" href="{{ 'assets/css/rouge-highlight/monokai.css' | relative_url }}">
24
+
25
+ <!-- Reveal CSS -->
26
+ <link rel="stylesheet" href="{{ 'assets/css/reset.css' | relative_url }}">
27
+ <link rel="stylesheet" href="{{ 'assets/css/reveal.css' | relative_url }}">
28
+ <link rel="stylesheet" href="{{ 'assets/css/theme/' | relative_url }}{{ site.reveal.theme }}.css" id="theme">
29
+
30
+ <!-- Printing and PDF exports -->
31
+ <script>
32
+ var link = document.createElement('link');
33
+ link.rel = 'stylesheet';
34
+ link.type = 'text/css';
35
+ link.href = window.location.search.match(/print-pdf/gi) ? "{{ 'assets/css/print/pdf.css' | relative_url }}" : "{{ 'assets/css/print/paper.css' | relative_url }}";
36
+ document.getElementsByTagName('head')[0].appendChild(link);
37
+ </script>
38
+
39
+ </head>
@@ -0,0 +1,25 @@
1
+ <script src="{{ 'assets/js/reveal.js' | relative_url }}"></script>
2
+
3
+ <script>
4
+
5
+ // More info https://github.com/hakimel/reveal.js#configuration
6
+ Reveal.initialize({
7
+ controls: true,
8
+ progress: true,
9
+ center: true,
10
+ hash: true,
11
+
12
+ transition: '{{ site.reveal.transition | default: "slide" }}',
13
+
14
+ // More info https://github.com/hakimel/reveal.js#dependencies
15
+ dependencies: [
16
+ { src: "{{ 'assets/plugin/markdown/marked.js' | relative_url }}", condition: function() { return !!document.querySelector( "[data-markdown]" ); } },
17
+ { src: "{{ 'assets/plugin/markdown/markdown.js' | relative_url }}", condition: function() { return !!document.querySelector( "[data-markdown]" ); } },
18
+ {% if include.highlight %}{ src: "{{ 'assets/plugin/highlight/highlight.js' | relative_url }}", async: true }, {% endif %}
19
+ { src: "{{ 'assets/plugin/search/search.js' | relative_url }}", async: true },
20
+ { src: "{{ 'assets/plugin/zoom-js/zoom.js' | relative_url }}", async: true },
21
+ { src: "{{ 'assets/plugin/notes/notes.js' | relative_url }}", async: true }
22
+ ]
23
+ });
24
+
25
+ </script>
@@ -0,0 +1,26 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ {% include head.html %}
4
+ <body>
5
+ <div class="reveal">
6
+ <div class="slides">
7
+
8
+ {% for slide in site.slides %}
9
+ <section {% if slide.transition %} data-transition="{{ slide.transition }}" {% endif %}
10
+ {% if slide.background %} data-background="{{ slide.background }}" {% endif %}
11
+ {% if slide.video %} data-background-video="{{ slide.video }}" data-background-color="#000000" {% endif %}>
12
+ <section>
13
+ {{ slide.content }}
14
+ </section>
15
+
16
+ {% include basements.html name=slide.url %}
17
+ </section>
18
+ {% endfor %}
19
+
20
+ </div>
21
+ </div>
22
+ {% include reveal.html %}
23
+ </body>
24
+ </html>
25
+
26
+
data/_layouts/raw.html ADDED
@@ -0,0 +1,20 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ {% include head.html %}
4
+ <body>
5
+ <div class="reveal">
6
+ <div class="slides">
7
+
8
+ <section data-markdown
9
+ data-separator="^---"
10
+ data-separator-vertical="^___"
11
+ data-charset="utf-8"
12
+ data-notes="^Note:">
13
+ <script type="text/template">{{ content }}</script>
14
+ </section>
15
+
16
+ </div>
17
+ </div>
18
+ {% include reveal.html highlight=true %}
19
+ </body>
20
+ </html>
@@ -0,0 +1,203 @@
1
+ /* Default Print Stylesheet Template
2
+ by Rob Glazebrook of CSSnewbie.com
3
+ Last Updated: June 4, 2008
4
+
5
+ Feel free (nay, compelled) to edit, append, and
6
+ manipulate this file as you see fit. */
7
+
8
+
9
+ @media print {
10
+
11
+ /* SECTION 1: Set default width, margin, float, and
12
+ background. This prevents elements from extending
13
+ beyond the edge of the printed page, and prevents
14
+ unnecessary background images from printing */
15
+ html {
16
+ background: #fff;
17
+ width: auto;
18
+ height: auto;
19
+ overflow: visible;
20
+ }
21
+ body {
22
+ background: #fff;
23
+ font-size: 20pt;
24
+ width: auto;
25
+ height: auto;
26
+ border: 0;
27
+ margin: 0 5%;
28
+ padding: 0;
29
+ overflow: visible;
30
+ float: none !important;
31
+ }
32
+
33
+ /* SECTION 2: Remove any elements not needed in print.
34
+ This would include navigation, ads, sidebars, etc. */
35
+ .nestedarrow,
36
+ .controls,
37
+ .fork-reveal,
38
+ .share-reveal,
39
+ .state-background,
40
+ .reveal .progress,
41
+ .reveal .backgrounds,
42
+ .reveal .slide-number {
43
+ display: none !important;
44
+ }
45
+
46
+ /* SECTION 3: Set body font face, size, and color.
47
+ Consider using a serif font for readability. */
48
+ body, p, td, li, div {
49
+ font-size: 20pt!important;
50
+ font-family: Georgia, "Times New Roman", Times, serif !important;
51
+ color: #000;
52
+ }
53
+
54
+ /* SECTION 4: Set heading font face, sizes, and color.
55
+ Differentiate your headings from your body text.
56
+ Perhaps use a large sans-serif for distinction. */
57
+ h1,h2,h3,h4,h5,h6 {
58
+ color: #000!important;
59
+ height: auto;
60
+ line-height: normal;
61
+ font-family: Georgia, "Times New Roman", Times, serif !important;
62
+ text-shadow: 0 0 0 #000 !important;
63
+ text-align: left;
64
+ letter-spacing: normal;
65
+ }
66
+ /* Need to reduce the size of the fonts for printing */
67
+ h1 { font-size: 28pt !important; }
68
+ h2 { font-size: 24pt !important; }
69
+ h3 { font-size: 22pt !important; }
70
+ h4 { font-size: 22pt !important; font-variant: small-caps; }
71
+ h5 { font-size: 21pt !important; }
72
+ h6 { font-size: 20pt !important; font-style: italic; }
73
+
74
+ /* SECTION 5: Make hyperlinks more usable.
75
+ Ensure links are underlined, and consider appending
76
+ the URL to the end of the link for usability. */
77
+ a:link,
78
+ a:visited {
79
+ color: #000 !important;
80
+ font-weight: bold;
81
+ text-decoration: underline;
82
+ }
83
+ /*
84
+ .reveal a:link:after,
85
+ .reveal a:visited:after {
86
+ content: " (" attr(href) ") ";
87
+ color: #222 !important;
88
+ font-size: 90%;
89
+ }
90
+ */
91
+
92
+
93
+ /* SECTION 6: more reveal.js specific additions by @skypanther */
94
+ ul, ol, div, p {
95
+ visibility: visible;
96
+ position: static;
97
+ width: auto;
98
+ height: auto;
99
+ display: block;
100
+ overflow: visible;
101
+ margin: 0;
102
+ text-align: left !important;
103
+ }
104
+ .reveal pre,
105
+ .reveal table {
106
+ margin-left: 0;
107
+ margin-right: 0;
108
+ }
109
+ .reveal pre code {
110
+ padding: 20px;
111
+ border: 1px solid #ddd;
112
+ }
113
+ .reveal blockquote {
114
+ margin: 20px 0;
115
+ }
116
+ .reveal .slides {
117
+ position: static !important;
118
+ width: auto !important;
119
+ height: auto !important;
120
+
121
+ left: 0 !important;
122
+ top: 0 !important;
123
+ margin-left: 0 !important;
124
+ margin-top: 0 !important;
125
+ padding: 0 !important;
126
+ zoom: 1 !important;
127
+
128
+ overflow: visible !important;
129
+ display: block !important;
130
+
131
+ text-align: left !important;
132
+ -webkit-perspective: none;
133
+ -moz-perspective: none;
134
+ -ms-perspective: none;
135
+ perspective: none;
136
+
137
+ -webkit-perspective-origin: 50% 50%;
138
+ -moz-perspective-origin: 50% 50%;
139
+ -ms-perspective-origin: 50% 50%;
140
+ perspective-origin: 50% 50%;
141
+ }
142
+ .reveal .slides section {
143
+ visibility: visible !important;
144
+ position: static !important;
145
+ width: auto !important;
146
+ height: auto !important;
147
+ display: block !important;
148
+ overflow: visible !important;
149
+
150
+ left: 0 !important;
151
+ top: 0 !important;
152
+ margin-left: 0 !important;
153
+ margin-top: 0 !important;
154
+ padding: 60px 20px !important;
155
+ z-index: auto !important;
156
+
157
+ opacity: 1 !important;
158
+
159
+ page-break-after: always !important;
160
+
161
+ -webkit-transform-style: flat !important;
162
+ -moz-transform-style: flat !important;
163
+ -ms-transform-style: flat !important;
164
+ transform-style: flat !important;
165
+
166
+ -webkit-transform: none !important;
167
+ -moz-transform: none !important;
168
+ -ms-transform: none !important;
169
+ transform: none !important;
170
+
171
+ -webkit-transition: none !important;
172
+ -moz-transition: none !important;
173
+ -ms-transition: none !important;
174
+ transition: none !important;
175
+ }
176
+ .reveal .slides section.stack {
177
+ padding: 0 !important;
178
+ }
179
+ .reveal section:last-of-type {
180
+ page-break-after: avoid !important;
181
+ }
182
+ .reveal section .fragment {
183
+ opacity: 1 !important;
184
+ visibility: visible !important;
185
+
186
+ -webkit-transform: none !important;
187
+ -moz-transform: none !important;
188
+ -ms-transform: none !important;
189
+ transform: none !important;
190
+ }
191
+ .reveal section img {
192
+ display: block;
193
+ margin: 15px 0px;
194
+ background: rgba(255,255,255,1);
195
+ border: 1px solid #666;
196
+ box-shadow: none;
197
+ }
198
+
199
+ .reveal section small {
200
+ font-size: 0.8em;
201
+ }
202
+
203
+ }