- 
          
- 
        Couldn't load subscription status. 
- Fork 213
Slides fragment
        Giorgio Garofalo edited this page Oct 2, 2024 
        ·
        10 revisions
      
    A fragment is an interactive section of a slide which may show or hide content when the user attempts to go to the next slide.
A fragment can be created via the .fragment block function, which takes the content as a body argument, and also accepts an optional behavior argument which can take any of the following:
| Behavior name | Description | 
|---|---|
| show(default) | Starts invisible, fades in on interaction. | 
| hide | Starts visible, fades out on interaction. | 
| semihide | Starts visible, fade out to 50% on interaction. | 
| showhide | Starts invisible, fades in on interaction, then out on the next interaction. | 
If multiple fragments are present within the same slide, they are triggered in order.
- Figures
- Image size
- TeX formulae
- Table caption
- Code caption
- Decorative headings
- Alerts (quote types)
- Quotation source
- Cross-references
- Page breaks
- Text symbols (text replacement)
- Emojis
- Document metadata
- Theme
- CSS
- Fonts
- Page format
- Page margin content
- Page counter
- Persistent headings
- Automatic page break
- Numbering
- Paragraph style
- Caption position
- Table of contents
- Bibliography
- Footnotes
- Stacks (row, column, grid)
- Container
- Align
- Float
- Figure
- Clip
- Box
- Collapsible
- Landscape
- Whitespace
- Variables
- Optionality
- Math
- Conditional statements
- Loops
- Let
- Destructuring
- String manipulation
- Table manipulation: sorting, computing, and more
- Table generation
- String
- Number
- Markdown content
- Boolean
- None
- Enumeration entry
- Iterable
- Dictionary
- Range
- Lambda
- Size(s)
- Color
- Dynamic
- Paper: abstract, definitions, theorems, and more