2017-06-03 08:20:21 -04:00
---
2018-11-10 15:54:59 -05:00
type: slide
2017-06-03 08:20:21 -04:00
slideOptions:
transition: slide
---
# Slide example
2016-04-20 06:03:55 -04:00
This feature still in beta, may have some issues.
2016-06-17 04:28:48 -04:00
For details please visit:
2016-04-20 06:03:55 -04:00
https://github.com/hakimel/reveal.js/
2016-07-31 12:08:44 -04:00
You can use `URL query` or `slideOptions` of the YAML metadata to customize your slides.
2016-04-20 06:03:55 -04:00
---
## First slide
`---`
2016-10-24 13:56:19 -04:00
Is the divider of slides
2016-04-20 06:03:55 -04:00
----
2017-06-05 06:27:13 -04:00
### First branch of first the slide
2016-04-20 06:03:55 -04:00
`----`
2016-10-24 13:56:19 -04:00
Is the divider of branches
2016-04-20 06:03:55 -04:00
2017-06-03 08:20:21 -04:00
Use the _Space_ key to navigate through all slides.
2016-04-20 06:03:55 -04:00
----
2017-06-05 06:27:13 -04:00
### Second branch of first the slide
2016-04-20 06:03:55 -04:00
2017-06-05 06:27:13 -04:00
Nested slides are useful for adding additional detail underneath a high-level horizontal slide.
2017-06-03 08:20:21 -04:00
---
## Point of View
Press **ESC** to enter the slide overview.
---
## Touch Optimized
Presentations look great on touch devices, like mobile phones and tablets. Simply swipe through your slides.
---
## Fragments
2016-04-20 06:03:55 -04:00
`<!-- .element: class="fragment" data-fragment-index="1" -->`
Is the fragment syntax
2017-06-03 08:20:21 -04:00
Hit the next arrow...
... to step through ...
< span > ... a<!-- .element: class="fragment" data - fragment - index="1" --> < / span > < span > fragmented<!-- .element: class="fragment" data - fragment - index="2" --> < / span > < span > slide.<!-- .element: class="fragment" data - fragment - index="3" --> < / span >
Note:
This slide has fragments which are also stepped through in the notes window.
2016-04-20 06:03:55 -04:00
---
2017-06-03 08:20:21 -04:00
## Fragment Styles
2016-04-20 06:03:55 -04:00
2017-06-05 06:27:13 -04:00
There are different types of fragments, like:
2016-04-20 06:03:55 -04:00
2017-06-03 08:20:21 -04:00
grow
2016-04-20 06:03:55 -04:00
2017-06-03 08:20:21 -04:00
shrink
fade-out
fade-up (also down, left and right!)
current-visible
Highlight < span > <!-- .element: class="fragment highlight - red" --> red< / span > < span > <!-- .element: class="fragment highlight - blue" --> blue< / span > < span > <!-- .element: class="fragment highlight - green" --> green< / span >
2016-04-20 06:03:55 -04:00
---
<!-- .slide: data - transition="zoom" -->
2017-06-03 08:20:21 -04:00
## Transition Styles
Different background transitions are available via the transition option. This one's called "zoom".
2016-04-20 06:03:55 -04:00
`<!-- .slide: data-transition="zoom" -->`
Is the transition syntax
2017-06-05 06:27:13 -04:00
You can use:
2016-04-20 06:03:55 -04:00
none/fade/slide/convex/concave/zoom
---
<!-- .slide: data - transition="fade - in convex - out" -->
`<!-- .slide: data-transition="fade-in convex-out" -->`
2017-06-05 06:27:13 -04:00
Also, you can set different in/out transition
You can use:
none/fade/slide/convex/concave/zoom
2016-04-20 06:03:55 -04:00
postfix with `-in` or `-out`
---
<!-- .slide: data - transition - speed="fast" -->
`<!-- .slide: data-transition-speed="fast" -->`
Custom the transition speed!
2017-06-05 06:27:13 -04:00
You can use:
2016-04-20 06:03:55 -04:00
default/fast/slow
---
2017-06-03 08:20:21 -04:00
## Themes
2017-06-05 06:27:13 -04:00
reveal.js comes with a few themes built in:
Black (default) - White - League - Sky - Beige - Simple
2017-06-03 08:20:21 -04:00
Serif - Blood - Night - Moon - Solarized
2017-06-05 06:27:13 -04:00
It can be set in YAML slideOptions
2017-06-03 08:20:21 -04:00
---
<!-- .slide: data - background="#1A237E" -->
`<!-- .slide: data-background="#1A237E" -->`
Is the background syntax
---
<!-- .slide: data - background="https://s3.amazonaws.com/hakim - static/reveal - js/image - placeholder.png" data - background - color="#005" -->
< div style = "color: #fff ;" >
## Image Backgrounds
`<!-- .slide: data-background="image.png"-->`
< / div >
----
<!-- .slide: data - background="https://s3.amazonaws.com/hakim - static/reveal - js/image - placeholder.png" data - background - repeat="repeat" data - background - size="100px" data - background - color="#005" -->
< div style = "color: #fff ;" >
## Tiled Backgrounds
`<!-- .slide: data-background="image.png" data-background-repeat="repeat" data-background-size="100px" -->`
< / div >
----
<!-- .slide: 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" data - background - color="#000000" -->
< div style = "background-color: rgba(0, 0, 0, 0.9); color: #fff ; padding: 20px;" >
## Video Backgrounds
`<!-- .slide: data-background-video="video.mp4,video.webm" -->`
< / div >
----
<!-- .slide: data - background="http://i.giphy.com/90F8aUepslB84.gif" -->
## ... and GIFs!
---
## Pretty Code
``` javascript
function linkify( selector ) {
if( supports3DTransforms ) {
2017-06-05 06:27:13 -04:00
const nodes = document.querySelectorAll( selector );
2017-06-03 08:20:21 -04:00
2017-06-05 06:27:13 -04:00
for( const i = 0, len = nodes.length; i < len ; i + + ) {
2017-06-03 08:20:21 -04:00
var node = nodes[i];
if( !node.className ) {
node.className += ' roll';
}
}
}
}
```
Code syntax highlighting courtesy of [highlight.js ](http://softwaremaniacs.org/soft/highlight/en/description/ ).
---
## Marvelous List
2017-06-05 06:27:13 -04:00
- No order here
- Or here
- Or here
- Or here
2017-06-03 08:20:21 -04:00
---
## Fantastic Ordered List
2017-06-05 06:27:13 -04:00
1. One is smaller than...
2. Two is smaller than...
3. Three!
2017-06-03 08:20:21 -04:00
---
## Tabular Tables
2017-06-05 06:27:13 -04:00
| Item | Value | Quantity |
| ---- | ----- | -------- |
| Apples | $1 | 7 |
| Lemonade | $2 | 18 |
| Bread | $3 | 2 |
2017-06-03 08:20:21 -04:00
---
## Clever Quotes
> “For years there has been a theory that millions of monkeys typing at random on millions of typewriters would reproduce the entire works of Shakespeare. The Internet has proven this theory to be untrue.”
---
## Intergalactic Interconnections
You can link between slides internally, [like this ](#/1/3 ).
---
2017-06-05 06:27:13 -04:00
## Speaker
2017-06-03 08:20:21 -04:00
There's a [speaker view ](https://github.com/hakimel/reveal.js#speaker-notes ). It includes a timer, preview of the upcoming slide as well as your speaker notes.
Press the _S_ key to try it out.
Note:
2017-06-05 06:27:13 -04:00
Oh hey, these are some notes. They'll be hidden in your presentation, but you can see them if you open the speaker notes window (hit `s` on your keyboard).
2017-06-03 08:20:21 -04:00
---
## Take a Moment
2017-06-05 06:27:13 -04:00
Press `B` or `.` on your keyboard to pause the presentation. This is helpful when you're on stage and want to take distracting slides off the screen.
2017-06-03 08:20:21 -04:00
---
2018-06-24 17:50:19 -04:00
## Print your Slides
Down below you can find a print icon< i class = "fa fa-fw fa-print" > < / i > .
2018-10-07 09:21:20 -04:00
After you click on it, use the print function of your browser (either CTRL+P or cmd+P) to print the slides as PDF. [See official reveal.js instructions for details ](https://github.com/hakimel/reveal.js#instructions-1 )
2018-06-24 17:50:19 -04:00
---
2017-06-05 06:27:13 -04:00
# The End