fragment

fun fragment(behavior: SlidesFragment.Behavior = SlidesFragment.Behavior.SHOW, content: MarkdownContent): <Error class: unknown class>

Creates an element that, when used in a slides document, shows its content when the user attempts to go to the next slide.

Multiple fragments in the same slide are shown in order on distinct user interactions.

Return

a new SlidesFragment node

Parameters

behavior
  • Optional

visibility type of the fragment and how it reacts to user interactions

Values

content

content to show/hide

Wiki page

Slides fragment

Target

This function is only available for the following document types: slides.