mirror of
https://github.com/Threnklyn/reveal-hugo.git
synced 2026-06-05 21:28:28 +02:00
817 B
817 B
+++ weight = 30 +++
Fragment shortcode
The fragment shortcode makes content appear incrementally.
{{%/* fragment */%}} One {{%/* /fragment */%}}
{{%/* fragment */%}} Two {{%/* /fragment */%}}
{{%/* fragment */%}} Three {{%/* /fragment */%}}
{{% fragment %}} One {{% /fragment %}} {{% fragment %}} Two {{% /fragment %}} {{% fragment %}} Three {{% /fragment %}}
Frag shortcode
The frag shortcode more terse than fragment. It accepts a c attribute.
{{</* frag c="One" */>}}
{{</* frag c="Two" */>}}
{{</* frag c="Three" */>}}
{{< frag c="One" >}} {{< frag c="Two" >}} {{< frag c="Three" >}}
Both fragment and frag accept two additional parameters:
class: sets the class of the wrappingspanelementindex: controls the order in which sections will appear