mirror of
https://github.com/Threnklyn/reveal-hugo.git
synced 2026-06-05 21:28:28 +02:00
Add big list of Reveal.js slide attributes to the docs
This commit is contained in:
@@ -6,8 +6,6 @@ weight = 34
|
||||
|
||||
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" %}}
|
||||
@@ -55,6 +53,32 @@ Go to [custom slide 1](#custom-1)
|
||||
|
||||
---
|
||||
|
||||
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`
|
||||
|
||||
---
|
||||
|
||||
{{% section %}}
|
||||
|
||||
{{% slide content="home.example" /%}}
|
||||
|
||||
Reference in New Issue
Block a user