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

38 lines
568 B
Markdown

+++
weight = 34
+++
## Slide shortcode
Customize individual slide parameters like background color and transition.
[See all parameters](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="white" %}}
## Custom slide 2
```
{{%/* slide background-color="white" */%}}
## Custom slide 2
{{%/* /slide */%}}
```
{{% /slide %}}