themen-hugo-35c3-reveal/exampleSite/content/home/shortcodes/slide.md

49 lines
645 B
Markdown

+++
weight = 34
+++
## Slide
Customize individual slide parameters like background color and transition.
[See all slide params](https://github.com/hakimel/reveal.js#slide-backgrounds)
---
{{% slide transition="zoom" transition-speed="fast" %}}
## Custom slide 1
```
{{%/* slide transition="zoom" transition-speed="fast" */%}}
## Custom slide 1
{{%/* /slide */%}}
```
{{% /slide %}}
---
{{% slide background-color="#FF4081" %}}
## Custom slide 2
```
{{%/* slide background-color="#FF4081" */%}}
## Custom slide 2
{{%/* /slide */%}}
```
{{% /slide %}}
---
{{% section %}}
{{< slide content="home.example" >}}
{{% /section %}}