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

50 lines
645 B
Markdown
Raw Normal View History

+++
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 %}}
---
2018-05-15 21:40:53 -05:00
{{% slide background-color="#FF4081" %}}
## Custom slide 2
```
2018-05-15 21:40:53 -05:00
{{%/* slide background-color="#FF4081" */%}}
## Custom slide 2
{{%/* /slide */%}}
```
{{% /slide %}}
---
{{% section %}}
{{< slide content="home.example" >}}
{{% /section %}}