reveal-ck 0.5.1 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/files/reveal-ck/templates/index.html/body.html.erb +1 -1
- data/files/reveal-ck/templates/index.html/head.html.erb +1 -1
- data/files/reveal.js/CONTRIBUTING.md +20 -0
- data/files/reveal.js/Gruntfile.js +55 -19
- data/files/reveal.js/README.md +54 -39
- data/files/reveal.js/css/print/paper.css +193 -167
- data/files/reveal.js/css/print/pdf.css +18 -42
- data/files/reveal.js/css/reveal.css +937 -1636
- data/files/reveal.js/css/reveal.scss +1357 -0
- data/files/reveal.js/css/theme/beige.css +177 -55
- data/files/reveal.js/css/theme/black.css +258 -0
- data/files/reveal.js/css/theme/blood.css +190 -75
- data/files/reveal.js/css/theme/default.css +180 -58
- data/files/reveal.js/css/theme/moon.css +168 -46
- data/files/reveal.js/css/theme/night.css +164 -42
- data/files/reveal.js/css/theme/serif.css +180 -58
- data/files/reveal.js/css/theme/simple.css +172 -50
- data/files/reveal.js/css/theme/sky.css +169 -47
- data/files/reveal.js/css/theme/solarized.css +168 -46
- data/files/reveal.js/css/theme/source/black.scss +44 -0
- data/files/reveal.js/css/theme/source/blood.scss +4 -4
- data/files/reveal.js/css/theme/source/default.scss +1 -0
- data/files/reveal.js/css/theme/source/serif.scss +1 -1
- data/files/reveal.js/css/theme/source/sky.scss +1 -1
- data/files/reveal.js/css/theme/template/settings.scss +8 -3
- data/files/reveal.js/css/theme/template/theme.scss +181 -13
- data/files/reveal.js/index.html +70 -53
- data/files/reveal.js/js/reveal.js +1269 -371
- data/files/reveal.js/lib/css/zenburn.css +74 -71
- data/files/reveal.js/package.json +9 -7
- data/files/reveal.js/plugin/highlight/highlight.js +2 -4
- data/files/reveal.js/plugin/leap/leap.js +4 -2
- data/files/reveal.js/plugin/markdown/example.html +2 -2
- data/files/reveal.js/plugin/markdown/markdown.js +8 -7
- data/files/reveal.js/plugin/notes-server/client.js +49 -46
- data/files/reveal.js/plugin/notes-server/index.js +28 -21
- data/files/reveal.js/plugin/notes-server/notes.html +351 -97
- data/files/reveal.js/plugin/notes/notes.html +321 -182
- data/files/reveal.js/plugin/notes/notes.js +89 -45
- data/files/reveal.js/plugin/print-pdf/print-pdf.js +24 -20
- data/files/reveal.js/plugin/zoom-js/zoom.js +64 -56
- data/files/reveal.js/test/examples/barebones.html +2 -2
- data/files/reveal.js/test/examples/embedded-media.html +2 -2
- data/files/reveal.js/test/examples/math.html +2 -2
- data/files/reveal.js/test/examples/slide-backgrounds.html +29 -7
- data/files/reveal.js/test/test-markdown-element-attributes.html +6 -6
- data/files/reveal.js/test/test-markdown-slide-attributes.html +7 -7
- data/files/reveal.js/test/test-markdown.html +4 -4
- data/files/reveal.js/test/test-pdf.html +83 -0
- data/files/reveal.js/test/test-pdf.js +15 -0
- data/files/reveal.js/test/test.html +5 -4
- data/files/reveal.js/test/test.js +143 -9
- data/lib/reveal-ck/builders/reveal_js_files.rb +2 -2
- data/lib/reveal-ck/markdown.rb +12 -0
- data/lib/reveal-ck/markdown/post_processor.rb +110 -0
- data/lib/reveal-ck/markdown/pre_processor.rb +104 -0
- data/lib/reveal-ck/markdown/slide_markdown.rb +2 -20
- data/lib/reveal-ck/markdown/slide_markdown_template.rb +4 -1
- data/lib/reveal-ck/tilt/config.rb +3 -3
- data/lib/reveal-ck/version.rb +1 -1
- data/spec/lib/reveal-ck/builders/reveal_js_files_spec.rb +1 -1
- data/spec/lib/reveal-ck/builders/slides_builder_spec.rb +1 -1
- data/spec/lib/reveal-ck/builders/user_files_spec.rb +1 -1
- data/spec/lib/reveal-ck/markdown/post_processor_spec.rb +311 -0
- data/spec/lib/reveal-ck/markdown/pre_processor_spec.rb +301 -0
- data/spec/lib/reveal-ck/markdown/slide_markdown_spec.rb +1 -69
- metadata +15 -7
- data/files/reveal.js/css/reveal.min.css +0 -7
- data/files/reveal.js/js/reveal.min.js +0 -9
- data/files/reveal.js/plugin/postmessage/example.html +0 -39
- data/files/reveal.js/plugin/postmessage/postmessage.js +0 -42
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d4252fefb83fa8eec9c1b3a0d6d74334c2a0d0bf
|
4
|
+
data.tar.gz: e29b9fdcc2b7fadbac285db39050326e15fae351
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d03ad188c7ca126d5825ca66fc882451ada4817b6a20ce914db0932884a35733e6d6414f010bb5a500087e50e5b20b5254bae2cc0ccc16822d6fc915a58418ff
|
7
|
+
data.tar.gz: bf9d20304ea225b4ceb51c7833a43c2b2d16ffd71f0ad17549e6c8c9537cd942c5a11054a882eba4c73026f6356643861bbfce79302f217bd0f6b7947af0cfde
|
@@ -10,7 +10,7 @@
|
|
10
10
|
|
11
11
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
12
12
|
|
13
|
-
<link rel="stylesheet" href="css/reveal.
|
13
|
+
<link rel="stylesheet" href="css/reveal.css">
|
14
14
|
<link rel="stylesheet" href="css/theme/<%= config.theme %>.css" id="theme">
|
15
15
|
|
16
16
|
<!-- For syntax highlighting -->
|
@@ -0,0 +1,20 @@
|
|
1
|
+
## Contributing
|
2
|
+
|
3
|
+
Please keep the [issue tracker](http://github.com/hakimel/reveal.js/issues) limited to **bug reports**, **feature requests** and **pull requests**.
|
4
|
+
|
5
|
+
|
6
|
+
### Personal Support
|
7
|
+
If you have personal support or setup questions the best place to ask those are [StackOverflow](http://stackoverflow.com/questions/tagged/reveal.js).
|
8
|
+
|
9
|
+
|
10
|
+
### Bug Reports
|
11
|
+
When reporting a bug make sure to include information about which browser and operating system you are on as well as the necessary steps to reproduce the issue. If possible please include a link to a sample presentation where the bug can be tested.
|
12
|
+
|
13
|
+
|
14
|
+
### Pull Requests
|
15
|
+
- Should follow the coding style of the file you work in, most importantly:
|
16
|
+
- Tabs to indent
|
17
|
+
- Single-quoted strings
|
18
|
+
- Should be made towards the **dev branch**
|
19
|
+
- Should be submitted from a feature/topic branch (not your master)
|
20
|
+
- Should not include the minified **reveal.min.js** or **reveal.min.css** files
|
@@ -29,18 +29,16 @@ module.exports = function(grunt) {
|
|
29
29
|
}
|
30
30
|
},
|
31
31
|
|
32
|
-
|
33
|
-
|
32
|
+
sass: {
|
33
|
+
core: {
|
34
34
|
files: {
|
35
|
-
'css/reveal.
|
35
|
+
'css/reveal.css': 'css/reveal.scss',
|
36
36
|
}
|
37
|
-
}
|
38
|
-
|
39
|
-
|
40
|
-
sass: {
|
41
|
-
main: {
|
37
|
+
},
|
38
|
+
themes: {
|
42
39
|
files: {
|
43
40
|
'css/theme/default.css': 'css/theme/source/default.scss',
|
41
|
+
'css/theme/black.css': 'css/theme/source/black.scss',
|
44
42
|
'css/theme/beige.css': 'css/theme/source/beige.scss',
|
45
43
|
'css/theme/night.css': 'css/theme/source/night.scss',
|
46
44
|
'css/theme/serif.css': 'css/theme/source/serif.scss',
|
@@ -53,6 +51,20 @@ module.exports = function(grunt) {
|
|
53
51
|
}
|
54
52
|
},
|
55
53
|
|
54
|
+
autoprefixer: {
|
55
|
+
dist: {
|
56
|
+
src: 'css/reveal.css'
|
57
|
+
}
|
58
|
+
},
|
59
|
+
|
60
|
+
cssmin: {
|
61
|
+
compress: {
|
62
|
+
files: {
|
63
|
+
'css/reveal.min.css': [ 'css/reveal.css' ]
|
64
|
+
}
|
65
|
+
}
|
66
|
+
},
|
67
|
+
|
56
68
|
jshint: {
|
57
69
|
options: {
|
58
70
|
curly: false,
|
@@ -70,7 +82,9 @@ module.exports = function(grunt) {
|
|
70
82
|
head: false,
|
71
83
|
module: false,
|
72
84
|
console: false,
|
73
|
-
unescape: false
|
85
|
+
unescape: false,
|
86
|
+
define: false,
|
87
|
+
exports: false
|
74
88
|
}
|
75
89
|
},
|
76
90
|
files: [ 'Gruntfile.js', 'js/reveal.js' ]
|
@@ -80,7 +94,9 @@ module.exports = function(grunt) {
|
|
80
94
|
server: {
|
81
95
|
options: {
|
82
96
|
port: port,
|
83
|
-
base: '.'
|
97
|
+
base: '.',
|
98
|
+
livereload: true,
|
99
|
+
open: true
|
84
100
|
}
|
85
101
|
}
|
86
102
|
},
|
@@ -97,14 +113,24 @@ module.exports = function(grunt) {
|
|
97
113
|
},
|
98
114
|
|
99
115
|
watch: {
|
100
|
-
|
101
|
-
|
102
|
-
|
116
|
+
options: {
|
117
|
+
livereload: true
|
118
|
+
},
|
119
|
+
js: {
|
120
|
+
files: [ 'Gruntfile.js', 'js/reveal.js' ],
|
121
|
+
tasks: 'js'
|
103
122
|
},
|
104
123
|
theme: {
|
105
124
|
files: [ 'css/theme/source/*.scss', 'css/theme/template/*.scss' ],
|
106
|
-
tasks: 'themes'
|
107
|
-
}
|
125
|
+
tasks: 'css-themes'
|
126
|
+
},
|
127
|
+
css: {
|
128
|
+
files: [ 'css/reveal.scss' ],
|
129
|
+
tasks: 'css-core'
|
130
|
+
},
|
131
|
+
html: {
|
132
|
+
files: [ 'index.html']
|
133
|
+
}
|
108
134
|
}
|
109
135
|
|
110
136
|
});
|
@@ -115,15 +141,25 @@ module.exports = function(grunt) {
|
|
115
141
|
grunt.loadNpmTasks( 'grunt-contrib-cssmin' );
|
116
142
|
grunt.loadNpmTasks( 'grunt-contrib-uglify' );
|
117
143
|
grunt.loadNpmTasks( 'grunt-contrib-watch' );
|
118
|
-
grunt.loadNpmTasks( 'grunt-
|
144
|
+
grunt.loadNpmTasks( 'grunt-sass' );
|
119
145
|
grunt.loadNpmTasks( 'grunt-contrib-connect' );
|
146
|
+
grunt.loadNpmTasks( 'grunt-autoprefixer' );
|
120
147
|
grunt.loadNpmTasks( 'grunt-zip' );
|
121
148
|
|
122
149
|
// Default task
|
123
|
-
grunt.registerTask( 'default', [ '
|
150
|
+
grunt.registerTask( 'default', [ 'css', 'js' ] );
|
151
|
+
|
152
|
+
// JS task
|
153
|
+
grunt.registerTask( 'js', [ 'jshint', 'uglify', 'qunit' ] );
|
154
|
+
|
155
|
+
// Theme CSS
|
156
|
+
grunt.registerTask( 'css-themes', [ 'sass:themes' ] );
|
157
|
+
|
158
|
+
// Core framework CSS
|
159
|
+
grunt.registerTask( 'css-core', [ 'sass:core', 'autoprefixer', 'cssmin' ] );
|
124
160
|
|
125
|
-
//
|
126
|
-
grunt.registerTask( '
|
161
|
+
// All CSS
|
162
|
+
grunt.registerTask( 'css', [ 'sass', 'autoprefixer', 'cssmin' ] );
|
127
163
|
|
128
164
|
// Package presentation to archive
|
129
165
|
grunt.registerTask( 'package', [ 'default', 'zip' ] );
|
data/files/reveal.js/README.md
CHANGED
@@ -13,7 +13,7 @@ reveal.js comes with a broad range of features including [nested slides](https:/
|
|
13
13
|
|
14
14
|
## Online Editor
|
15
15
|
|
16
|
-
Presentations are written using HTML or markdown but there's also an online editor for those of you who prefer a graphical interface. Give it a try at [http://
|
16
|
+
Presentations are written using HTML or markdown but there's also an online editor for those of you who prefer a graphical interface. Give it a try at [http://slides.com](http://slides.com).
|
17
17
|
|
18
18
|
|
19
19
|
## Instructions
|
@@ -59,8 +59,8 @@ When used locally, this feature requires that reveal.js [runs from a local web s
|
|
59
59
|
```html
|
60
60
|
<section data-markdown="example.md"
|
61
61
|
data-separator="^\n\n\n"
|
62
|
-
data-vertical="^\n\n"
|
63
|
-
data-notes="^Note:"
|
62
|
+
data-separator-vertical="^\n\n"
|
63
|
+
data-separator-notes="^Note:"
|
64
64
|
data-charset="iso-8859-15">
|
65
65
|
</section>
|
66
66
|
```
|
@@ -136,6 +136,10 @@ Reveal.initialize({
|
|
136
136
|
// i.e. contained within a limited portion of the screen
|
137
137
|
embedded: false,
|
138
138
|
|
139
|
+
// Flags if we should show a help overlay when the questionmark
|
140
|
+
// key is pressed
|
141
|
+
help: true,
|
142
|
+
|
139
143
|
// Number of milliseconds between automatically proceeding to the
|
140
144
|
// next slide, disabled when set to 0, this value can be overwritten
|
141
145
|
// by using a data-autoslide attribute on your slides
|
@@ -154,13 +158,13 @@ Reveal.initialize({
|
|
154
158
|
previewLinks: false,
|
155
159
|
|
156
160
|
// Transition style
|
157
|
-
transition: 'default', //
|
161
|
+
transition: 'default', // none/fade/slide/convex/concave/zoom
|
158
162
|
|
159
163
|
// Transition speed
|
160
164
|
transitionSpeed: 'default', // default/fast/slow
|
161
165
|
|
162
166
|
// Transition style for full page slide backgrounds
|
163
|
-
backgroundTransition: 'default', //
|
167
|
+
backgroundTransition: 'default', // none/fade/slide/convex/concave/zoom
|
164
168
|
|
165
169
|
// Number of slides away from the current that are visible
|
166
170
|
viewDistance: 3,
|
@@ -175,8 +179,6 @@ Reveal.initialize({
|
|
175
179
|
});
|
176
180
|
```
|
177
181
|
|
178
|
-
Note that the new default vertical centering option will break compatibility with slides that were using transitions with backgrounds (`cube` and `page`). To restore the previous behavior, set `center` to `false`.
|
179
|
-
|
180
182
|
|
181
183
|
The configuration can be updated after initialization using the ```configure``` method:
|
182
184
|
|
@@ -207,13 +209,13 @@ Reveal.initialize({
|
|
207
209
|
{ src: 'plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
|
208
210
|
|
209
211
|
// Zoom in and out with Alt+click
|
210
|
-
{ src: 'plugin/zoom-js/zoom.js', async: true
|
212
|
+
{ src: 'plugin/zoom-js/zoom.js', async: true },
|
211
213
|
|
212
214
|
// Speaker notes
|
213
|
-
{ src: 'plugin/notes/notes.js', async: true
|
215
|
+
{ src: 'plugin/notes/notes.js', async: true },
|
214
216
|
|
215
217
|
// Remote control your reveal.js presentation using a touch device
|
216
|
-
{ src: 'plugin/remotes/remotes.js', async: true
|
218
|
+
{ src: 'plugin/remotes/remotes.js', async: true },
|
217
219
|
|
218
220
|
// MathJax
|
219
221
|
{ src: 'plugin/math/math.js', async: true }
|
@@ -266,15 +268,20 @@ Reveal.configure({
|
|
266
268
|
autoSlide: 5000
|
267
269
|
});
|
268
270
|
```
|
271
|
+
When this is turned on a control element will appear that enables users to pause and resume auto-sliding. Alternatively, sliding can be paused or resumed by pressing »a« on the keyboard. Sliding is paused automatically as soon as the user starts navigating. You can disable these controls by specifying ```autoSlideStoppable: false``` in your reveal.js config.
|
269
272
|
|
270
|
-
|
271
|
-
|
272
|
-
You can also override the slide duration for individual slides by using the ```data-autoslide``` attribute on individual sections:
|
273
|
+
You can also override the slide duration for individual slides and fragments by using the ```data-autoslide``` attribute:
|
273
274
|
|
274
275
|
```html
|
275
|
-
<section data-autoslide="
|
276
|
+
<section data-autoslide="2000">
|
277
|
+
<p>After 2 seconds the first fragment will be shown.</p>
|
278
|
+
<p class="fragment" data-autoslide="10000">After 10 seconds the next fragment will be shown.</p>
|
279
|
+
<p class="fragment">Now, the fragment is displayed for 2 seconds before the next slide is shown.</p>
|
280
|
+
</section>
|
276
281
|
```
|
277
282
|
|
283
|
+
Whenever the auto-slide mode is resumed or paused the ```autoslideresumed``` and ```autoslidepaused``` events are fired.
|
284
|
+
|
278
285
|
|
279
286
|
### Keyboard Bindings
|
280
287
|
|
@@ -290,6 +297,23 @@ Reveal.configure({
|
|
290
297
|
});
|
291
298
|
```
|
292
299
|
|
300
|
+
### Lazy Loading
|
301
|
+
|
302
|
+
When working on presentation with a lot of media or iframe content it's important to load lazily. Lazy loading means that reveal.js will only load content for the few slides nearest to the current slide. The number of slides that are preloaded is determined by the `viewDistance` configuration option.
|
303
|
+
|
304
|
+
To enable lazy loading all you need to do is change your "src" attributes to "data-src" as shown below. This is supported for image, video, audio and iframe elements.
|
305
|
+
|
306
|
+
```html
|
307
|
+
<section>
|
308
|
+
<img data-src="image.png">
|
309
|
+
<iframe data-src="http://slides.com">
|
310
|
+
<video>
|
311
|
+
<source data-src="video.webm" type="video/webm" />
|
312
|
+
<source data-src="video.mp4" type="video/mp4" />
|
313
|
+
</video>
|
314
|
+
</section>
|
315
|
+
```
|
316
|
+
|
293
317
|
|
294
318
|
### API
|
295
319
|
|
@@ -308,6 +332,7 @@ Reveal.prevFragment();
|
|
308
332
|
Reveal.nextFragment();
|
309
333
|
Reveal.toggleOverview();
|
310
334
|
Reveal.togglePause();
|
335
|
+
Reveal.toggleAutoSlide();
|
311
336
|
|
312
337
|
// Retrieves the previous and current slide elements
|
313
338
|
Reveal.getPreviousSlide();
|
@@ -320,6 +345,7 @@ Reveal.isFirstSlide();
|
|
320
345
|
Reveal.isLastSlide();
|
321
346
|
Reveal.isOverview();
|
322
347
|
Reveal.isPaused();
|
348
|
+
Reveal.isAutoSliding();
|
323
349
|
```
|
324
350
|
|
325
351
|
### Ready Event
|
@@ -359,7 +385,7 @@ Reveal.addEventListener( 'somestate', function() {
|
|
359
385
|
|
360
386
|
### Slide Backgrounds
|
361
387
|
|
362
|
-
Slides are contained within a limited portion of the screen by default to allow them to fit any display and scale uniformly. You can apply full page
|
388
|
+
Slides are contained within a limited portion of the screen by default to allow them to fit any display and scale uniformly. You can apply full page backgrounds outside of the slide area by adding a ```data-background``` attribute to your ```<section>``` elements. Four different types of backgrounds are supported: color, image, video and iframe. Below are a few examples.
|
363
389
|
|
364
390
|
```html
|
365
391
|
<section data-background="#ff0000">
|
@@ -371,6 +397,12 @@ Slides are contained within a limited portion of the screen by default to allow
|
|
371
397
|
<section data-background="http://example.com/image.png" data-background-size="100px" data-background-repeat="repeat">
|
372
398
|
<h2>This background image will be sized to 100px and repeated.</h2>
|
373
399
|
</section>
|
400
|
+
<section data-background-video="https://s3.amazonaws.com/static.slid.es/site/homepage/v1/homepage-video-editor.mp4,https://s3.amazonaws.com/static.slid.es/site/homepage/v1/homepage-video-editor.webm">
|
401
|
+
<h2>Video. Multiple sources can be defined using a comma separated list.</h2>
|
402
|
+
</section>
|
403
|
+
<section data-background-iframe="https://slides.com">
|
404
|
+
<h2>Embeds a web page as a background. Note that the page won't be interactive.</h2>
|
405
|
+
</section>
|
374
406
|
```
|
375
407
|
|
376
408
|
Backgrounds transition using a fade animation by default. This can be changed to a linear sliding transition by passing ```backgroundTransition: 'slide'``` to the ```Reveal.initialize()``` call. Alternatively you can set ```data-background-transition``` on any section with a background to override that specific transition.
|
@@ -390,7 +422,7 @@ Reveal.initialize({
|
|
390
422
|
parallaxBackgroundSize: '', // CSS syntax, e.g. "2100px 900px" - currently only pixels are supported (don't use % or auto)
|
391
423
|
|
392
424
|
// This slide transition gives best results:
|
393
|
-
transition:
|
425
|
+
transition: 'slide'
|
394
426
|
|
395
427
|
});
|
396
428
|
```
|
@@ -563,7 +595,7 @@ Limitations:
|
|
563
595
|
Presentations can be exported to PDF via a special print stylesheet. This feature requires that you use [Google Chrome](http://google.com/chrome).
|
564
596
|
Here's an example of an exported presentation that's been uploaded to SlideShare: http://www.slideshare.net/hakimel/revealjs-13872948.
|
565
597
|
|
566
|
-
1. Open your presentation with [css/print/pdf.css](https://github.com/hakimel/reveal.js/blob/master/css/print/pdf.css)
|
598
|
+
1. Open your presentation with `print-pdf` included anywhere in the query string. This triggers the default index HTML to load the PDF print stylesheet ([css/print/pdf.css](https://github.com/hakimel/reveal.js/blob/master/css/print/pdf.css)). You can test this with [lab.hakim.se/reveal-js?print-pdf](http://lab.hakim.se/reveal-js?print-pdf).
|
567
599
|
2. Open the in-browser print dialog (CMD+P).
|
568
600
|
3. Change the **Destination** setting to **Save as PDF**.
|
569
601
|
4. Change the **Layout** to **Landscape**.
|
@@ -614,7 +646,7 @@ When used locally, this feature requires that reveal.js [runs from a local web s
|
|
614
646
|
If you're using the external Markdown plugin, you can add notes with the help of a special delimiter:
|
615
647
|
|
616
648
|
```html
|
617
|
-
<section data-markdown="example.md" data-separator="^\n\n\n" data-vertical="^\n\n" data-notes="^Note:"></section>
|
649
|
+
<section data-markdown="example.md" data-separator="^\n\n\n" data-separator-vertical="^\n\n" data-separator-notes="^Note:"></section>
|
618
650
|
|
619
651
|
# Title
|
620
652
|
## Sub-title
|
@@ -683,7 +715,7 @@ Reveal.initialize({
|
|
683
715
|
|
684
716
|
// Don't forget to add the dependencies
|
685
717
|
dependencies: [
|
686
|
-
{ src: '//cdnjs.cloudflare.com/ajax/libs/socket.io/0.9.
|
718
|
+
{ src: '//cdnjs.cloudflare.com/ajax/libs/socket.io/0.9.16/socket.io.min.js', async: true },
|
687
719
|
{ src: 'plugin/multiplex/master.js', async: true },
|
688
720
|
|
689
721
|
// and if you want speaker notes
|
@@ -711,7 +743,7 @@ Reveal.initialize({
|
|
711
743
|
|
712
744
|
// Don't forget to add the dependencies
|
713
745
|
dependencies: [
|
714
|
-
{ src: '//cdnjs.cloudflare.com/ajax/libs/socket.io/0.9.
|
746
|
+
{ src: '//cdnjs.cloudflare.com/ajax/libs/socket.io/0.9.16/socket.io.min.js', async: true },
|
715
747
|
{ src: 'plugin/multiplex/client.js', async: true }
|
716
748
|
|
717
749
|
// other dependencies...
|
@@ -749,7 +781,7 @@ Reveal.initialize({
|
|
749
781
|
|
750
782
|
// Don't forget to add the dependencies
|
751
783
|
dependencies: [
|
752
|
-
{ src: '//cdnjs.cloudflare.com/ajax/libs/socket.io/0.9.
|
784
|
+
{ src: '//cdnjs.cloudflare.com/ajax/libs/socket.io/0.9.16/socket.io.min.js', async: true },
|
753
785
|
{ src: 'plugin/multiplex/client.js', async: true }
|
754
786
|
|
755
787
|
// other dependencies...
|
@@ -772,7 +804,7 @@ Reveal.initialize({
|
|
772
804
|
|
773
805
|
// Don't forget to add the dependencies
|
774
806
|
dependencies: [
|
775
|
-
{ src: '//cdnjs.cloudflare.com/ajax/libs/socket.io/0.9.
|
807
|
+
{ src: '//cdnjs.cloudflare.com/ajax/libs/socket.io/0.9.16/socket.io.min.js', async: true },
|
776
808
|
{ src: 'plugin/multiplex/master.js', async: true },
|
777
809
|
{ src: 'plugin/multiplex/client.js', async: true }
|
778
810
|
|
@@ -909,23 +941,6 @@ Some reveal.js features, like external markdown and speaker notes, require that
|
|
909
941
|
- **lib/** All other third party assets (JavaScript, CSS, fonts)
|
910
942
|
|
911
943
|
|
912
|
-
### Contributing
|
913
|
-
|
914
|
-
Please keep the [issue tracker](http://github.com/hakimel/reveal.js/issues) limited to **bug reports**, **feature requests** and **pull requests**. If you are reporting a bug make sure to include information about which browser and operating system you are using as well as the necessary steps to reproduce the issue.
|
915
|
-
|
916
|
-
If you have personal support questions use [StackOverflow](http://stackoverflow.com/questions/tagged/reveal.js).
|
917
|
-
|
918
|
-
|
919
|
-
#### Pull requests
|
920
|
-
|
921
|
-
- Should follow the coding style of the file you work in, most importantly:
|
922
|
-
- Tabs to indent
|
923
|
-
- Single-quoted strings
|
924
|
-
- Should be made towards the **dev branch**
|
925
|
-
- Should be submitted from a feature/topic branch (not your master)
|
926
|
-
- Should not include the minified **reveal.min.js** file
|
927
|
-
|
928
|
-
|
929
944
|
## License
|
930
945
|
|
931
946
|
MIT licensed
|
@@ -6,171 +6,197 @@
|
|
6
6
|
manipulate this file as you see fit. */
|
7
7
|
|
8
8
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
.
|
34
|
-
.
|
35
|
-
.
|
36
|
-
.
|
37
|
-
.fork-reveal,
|
38
|
-
.share-reveal,
|
39
|
-
.state-background
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
body
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
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
|
+
display: none !important;
|
43
|
+
}
|
44
|
+
|
45
|
+
/* SECTION 3: Set body font face, size, and color.
|
46
|
+
Consider using a serif font for readability. */
|
47
|
+
body, p, td, li, div {
|
48
|
+
font-size: 20pt!important;
|
49
|
+
font-family: Georgia, "Times New Roman", Times, serif !important;
|
50
|
+
color: #000;
|
51
|
+
}
|
52
|
+
|
53
|
+
/* SECTION 4: Set heading font face, sizes, and color.
|
54
|
+
Differentiate your headings from your body text.
|
55
|
+
Perhaps use a large sans-serif for distinction. */
|
56
|
+
h1,h2,h3,h4,h5,h6 {
|
57
|
+
color: #000!important;
|
58
|
+
height: auto;
|
59
|
+
line-height: normal;
|
60
|
+
font-family: Georgia, "Times New Roman", Times, serif !important;
|
61
|
+
text-shadow: 0 0 0 #000 !important;
|
62
|
+
text-align: left;
|
63
|
+
letter-spacing: normal;
|
64
|
+
}
|
65
|
+
/* Need to reduce the size of the fonts for printing */
|
66
|
+
h1 { font-size: 28pt !important; }
|
67
|
+
h2 { font-size: 24pt !important; }
|
68
|
+
h3 { font-size: 22pt !important; }
|
69
|
+
h4 { font-size: 22pt !important; font-variant: small-caps; }
|
70
|
+
h5 { font-size: 21pt !important; }
|
71
|
+
h6 { font-size: 20pt !important; font-style: italic; }
|
72
|
+
|
73
|
+
/* SECTION 5: Make hyperlinks more usable.
|
74
|
+
Ensure links are underlined, and consider appending
|
75
|
+
the URL to the end of the link for usability. */
|
76
|
+
a:link,
|
77
|
+
a:visited {
|
78
|
+
color: #000 !important;
|
79
|
+
font-weight: bold;
|
80
|
+
text-decoration: underline;
|
81
|
+
}
|
82
|
+
/*
|
83
|
+
.reveal a:link:after,
|
84
|
+
.reveal a:visited:after {
|
85
|
+
content: " (" attr(href) ") ";
|
86
|
+
color: #222 !important;
|
87
|
+
font-size: 90%;
|
88
|
+
}
|
89
|
+
*/
|
90
|
+
|
91
|
+
|
92
|
+
/* SECTION 6: more reveal.js specific additions by @skypanther */
|
93
|
+
ul, ol, div, p {
|
94
|
+
visibility: visible;
|
95
|
+
position: static;
|
96
|
+
width: auto;
|
97
|
+
height: auto;
|
98
|
+
display: block;
|
99
|
+
overflow: visible;
|
100
|
+
margin: 0;
|
101
|
+
text-align: left !important;
|
102
|
+
}
|
103
|
+
.reveal pre,
|
104
|
+
.reveal table {
|
105
|
+
margin-left: 0;
|
106
|
+
margin-right: 0;
|
107
|
+
}
|
108
|
+
.reveal pre code {
|
109
|
+
padding: 20px;
|
110
|
+
border: 1px solid #ddd;
|
111
|
+
}
|
112
|
+
.reveal blockquote {
|
113
|
+
margin: 20px 0;
|
114
|
+
}
|
115
|
+
.reveal .slides {
|
116
|
+
position: static !important;
|
117
|
+
width: auto !important;
|
118
|
+
height: auto !important;
|
119
|
+
|
120
|
+
left: 0 !important;
|
121
|
+
top: 0 !important;
|
122
|
+
margin-left: 0 !important;
|
123
|
+
margin-top: 0 !important;
|
124
|
+
padding: 0 !important;
|
125
|
+
zoom: 1 !important;
|
126
|
+
|
127
|
+
overflow: visible !important;
|
128
|
+
display: block !important;
|
129
|
+
|
130
|
+
text-align: left !important;
|
131
|
+
-webkit-perspective: none;
|
132
|
+
-moz-perspective: none;
|
133
|
+
-ms-perspective: none;
|
134
|
+
perspective: none;
|
135
|
+
|
136
|
+
-webkit-perspective-origin: 50% 50%;
|
137
|
+
-moz-perspective-origin: 50% 50%;
|
138
|
+
-ms-perspective-origin: 50% 50%;
|
139
|
+
perspective-origin: 50% 50%;
|
140
|
+
}
|
141
|
+
.reveal .slides section {
|
142
|
+
visibility: visible !important;
|
143
|
+
position: static !important;
|
144
|
+
width: 100% !important;
|
145
|
+
height: auto !important;
|
146
|
+
display: block !important;
|
147
|
+
overflow: visible !important;
|
148
|
+
|
149
|
+
left: 0 !important;
|
150
|
+
top: 0 !important;
|
151
|
+
margin-left: 0 !important;
|
152
|
+
margin-top: 0 !important;
|
153
|
+
padding: 60px 20px !important;
|
154
|
+
z-index: auto !important;
|
155
|
+
|
156
|
+
opacity: 1 !important;
|
157
|
+
|
158
|
+
page-break-after: always !important;
|
159
|
+
|
160
|
+
-webkit-transform-style: flat !important;
|
161
|
+
-moz-transform-style: flat !important;
|
162
|
+
-ms-transform-style: flat !important;
|
163
|
+
transform-style: flat !important;
|
164
|
+
|
165
|
+
-webkit-transform: none !important;
|
166
|
+
-moz-transform: none !important;
|
167
|
+
-ms-transform: none !important;
|
168
|
+
transform: none !important;
|
169
|
+
|
170
|
+
-webkit-transition: none !important;
|
171
|
+
-moz-transition: none !important;
|
172
|
+
-ms-transition: none !important;
|
173
|
+
transition: none !important;
|
174
|
+
}
|
175
|
+
.reveal .slides section.stack {
|
176
|
+
padding: 0 !important;
|
177
|
+
}
|
178
|
+
.reveal section:last-of-type {
|
179
|
+
page-break-after: avoid !important;
|
180
|
+
}
|
181
|
+
.reveal section .fragment {
|
182
|
+
opacity: 1 !important;
|
183
|
+
visibility: visible !important;
|
184
|
+
|
185
|
+
-webkit-transform: none !important;
|
186
|
+
-moz-transform: none !important;
|
187
|
+
-ms-transform: none !important;
|
188
|
+
transform: none !important;
|
189
|
+
}
|
190
|
+
.reveal section img {
|
191
|
+
display: block;
|
192
|
+
margin: 15px 0px;
|
193
|
+
background: rgba(255,255,255,1);
|
194
|
+
border: 1px solid #666;
|
195
|
+
box-shadow: none;
|
196
|
+
}
|
197
|
+
|
198
|
+
.reveal section small {
|
199
|
+
font-size: 0.8em;
|
200
|
+
}
|
201
|
+
|
176
202
|
}
|