mirror of
https://github.com/Threnklyn/reveal-hugo.git
synced 2026-05-19 05:13:30 +02:00
Add shortcodes for customizing slides, markdown, HTML
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
+++
|
||||
weight = 32
|
||||
+++
|
||||
|
||||
{{% section %}}
|
||||
|
||||
## Section shortcode
|
||||
|
||||
The `section` shortcode groups slides into a vertical display.
|
||||
|
||||
**To continue, use the down arrow or swipe down.**
|
||||
|
||||
---
|
||||
|
||||
Put the shortcode around the slides you want to group together.
|
||||
|
||||
```markdown
|
||||
{{%/* section */%}}
|
||||
|
||||
## Section slide 1
|
||||
|
||||
---
|
||||
|
||||
## Section slide 2
|
||||
|
||||
{{%/* /section */%}}
|
||||
```
|
||||
|
||||
Keep scrolling down.
|
||||
|
||||
---
|
||||
|
||||
## That's it!
|
||||
|
||||
Use the right arrow or swipe right to continue.
|
||||
|
||||
{{% /section %}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user