63 lines
972 B
Markdown
63 lines
972 B
Markdown
+++
|
|
weight = 34
|
|
+++
|
|
|
|
## Slide
|
|
|
|
Customize individual slide attributes like id, background color and transition. Use the same keys as Reveal.js but omit the 'data-' prefix.
|
|
|
|
[See more attributes](https://github.com/hakimel/reveal.js#slide-attributes)
|
|
|
|
---
|
|
|
|
{{% slide id="custom-1" transition="zoom" transition-speed="fast" %}}
|
|
|
|
## Custom slide 1
|
|
|
|
```
|
|
{{%/* slide id="custom-1" transition="zoom" transition-speed="fast" */%}}
|
|
|
|
## Custom slide 1
|
|
|
|
{{%/* /slide */%}}
|
|
```
|
|
|
|
{{% /slide %}}
|
|
|
|
---
|
|
|
|
{{% slide id="custom-2" background="#FF4081" %}}
|
|
|
|
## Custom slide 2
|
|
|
|
```
|
|
{{%/* slide id="custom-2" background="#FF4081" */%}}
|
|
|
|
## Custom slide 2
|
|
|
|
{{%/* /slide */%}}
|
|
```
|
|
|
|
{{% /slide %}}
|
|
|
|
---
|
|
|
|
💡 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>
|
|
|
|
---
|
|
|
|
{{% section %}}
|
|
|
|
{{% slide content="home.example" /%}}
|
|
|
|
{{% /section %}}
|