2018-04-30 20:47:20 -05:00
|
|
|
+++
|
|
|
|
weight = 34
|
|
|
|
+++
|
|
|
|
|
2018-07-19 09:49:24 -05:00
|
|
|
## Slide
|
2018-04-30 20:47:20 -05:00
|
|
|
|
2018-07-22 11:25:48 -05:00
|
|
|
Customize individual slide attributes like id, background color and transition. Use the same keys as Reveal.js but omit the 'data-' prefix.
|
2018-04-30 20:47:20 -05:00
|
|
|
|
|
|
|
---
|
|
|
|
|
2018-07-22 11:25:48 -05:00
|
|
|
{{% slide id="custom-1" transition="zoom" transition-speed="fast" %}}
|
2018-04-30 20:47:20 -05:00
|
|
|
|
2018-05-01 01:02:09 -05:00
|
|
|
## Custom slide 1
|
2018-04-30 20:47:20 -05:00
|
|
|
|
|
|
|
```
|
2018-07-22 11:25:48 -05:00
|
|
|
{{%/* slide id="custom-1" transition="zoom" transition-speed="fast" */%}}
|
2018-07-19 09:49:24 -05:00
|
|
|
|
2018-04-30 20:47:20 -05:00
|
|
|
## Custom slide 1
|
2018-07-19 09:49:24 -05:00
|
|
|
|
2018-04-30 20:47:20 -05:00
|
|
|
{{%/* /slide */%}}
|
|
|
|
```
|
|
|
|
|
|
|
|
{{% /slide %}}
|
|
|
|
|
|
|
|
---
|
|
|
|
|
2018-07-22 11:25:48 -05:00
|
|
|
{{% slide id="custom-2" background="#FF4081" %}}
|
2018-04-30 20:47:20 -05:00
|
|
|
|
|
|
|
## Custom slide 2
|
|
|
|
|
|
|
|
```
|
2018-07-22 11:25:48 -05:00
|
|
|
{{%/* slide id="custom-2" background="#FF4081" */%}}
|
2018-07-19 09:49:24 -05:00
|
|
|
|
2018-04-30 20:47:20 -05:00
|
|
|
## Custom slide 2
|
2018-07-19 09:49:24 -05:00
|
|
|
|
2018-04-30 20:47:20 -05:00
|
|
|
{{%/* /slide */%}}
|
|
|
|
```
|
|
|
|
|
|
|
|
{{% /slide %}}
|
|
|
|
|
2018-07-21 03:55:03 -05:00
|
|
|
---
|
|
|
|
|
2018-07-22 11:25:48 -05:00
|
|
|
💡 Tip: Setting a slide's `id` attribute makes it easy to link to from other parts of the presentation.
|
|
|
|
|
|
|
|
<br>
|
|
|
|
```markdown
|
|
|
|
Go to [custom slide 1](#custom-1)
|
|
|
|
```
|
|
|
|
|
|
|
|
<small>
|
|
|
|
Go to [custom slide 1](#custom-1)
|
|
|
|
</small>
|
|
|
|
|
|
|
|
---
|
|
|
|
|
2018-07-22 11:42:27 -05:00
|
|
|
Slide attribute possibilities from the [Reveal.js docs](https://github.com/hakimel/reveal.js):
|
|
|
|
|
|
|
|
- `autoslide`
|
|
|
|
- `state`
|
|
|
|
- `background`
|
|
|
|
- `background-color`
|
|
|
|
- `background-image`
|
|
|
|
- `background-size`
|
|
|
|
- `background-position`
|
|
|
|
- `background-repeat`
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
- `background-video`
|
|
|
|
- `background-video-loop`
|
|
|
|
- `background-video-muted`
|
|
|
|
- `background-interactive`
|
|
|
|
- `background-iframe`
|
|
|
|
- `background-transition`
|
|
|
|
- `transition` (can have different in and out transitions)
|
|
|
|
- `transition-speed`
|
|
|
|
- `notes` (can also use the note shortcode)
|
|
|
|
- `timing`
|
|
|
|
|
|
|
|
---
|
|
|
|
|
2018-07-21 03:55:03 -05:00
|
|
|
{{% section %}}
|
|
|
|
|
2018-07-22 04:50:50 -05:00
|
|
|
{{% slide content="home.example" /%}}
|
2018-07-21 03:55:03 -05:00
|
|
|
|
|
|
|
{{% /section %}}
|