47 lines
732 B
Markdown
47 lines
732 B
Markdown
+++
|
|
weight = 20
|
|
+++
|
|
|
|
# reveal-hugo
|
|
|
|
Content for the root presentation lives in `content/_index.md` and `content/home`.
|
|
|
|
---
|
|
|
|
# reveal-hugo
|
|
|
|
Content files are ordered by `weight` when added to the presentation.
|
|
|
|
```toml
|
|
+++
|
|
weight = 20
|
|
+++
|
|
```
|
|
|
|
---
|
|
|
|
# reveal-hugo
|
|
|
|
Create a presentation for any section by adding this to its `_index.md`:
|
|
|
|
```toml
|
|
outputs = ["Reveal"]
|
|
```
|
|
|
|
---
|
|
|
|
# reveal-hugo
|
|
|
|
Use the `fragment` shortcode to make content appear incrementally.
|
|
|
|
|
|
```
|
|
{{%/* fragment */%}} One {{%/* /fragment */%}}
|
|
{{%/* fragment */%}} Two {{%/* /fragment */%}}
|
|
{{%/* fragment */%}} Three {{%/* /fragment */%}}
|
|
```
|
|
|
|
{{% fragment %}} One {{% /fragment %}}
|
|
{{% fragment %}} Two {{% /fragment %}}
|
|
{{% fragment %}} Three {{% /fragment %}}
|