Markdown List Fragments



This guide introduces a special markdown shortcut syntax for working with list content as slide fragments.


1. Unordered Lists with Fragment Items

Sample GitPitch shortcut syntax:


@ul

- Plain text list item
- Rich **markdown** list *item*
- Link [within](https://gitpitch.com) list item

@ulend


2. Unordered Lists with Custom CSS Class and Fragment Items

Sample GitPitch shortcut syntax:


@ul[squares]

- Plain text list item
- Rich **markdown** list *item*
- Link [within](https://gitpitch.com) list item

@ulend

Where squares corresponds to a sample custom CSS class you have defined in the custom css for your slideshow presentation. You can use this syntax to apply any CSS customization to the layout and rendering of lists on your slides.


3. Unordered Lists with Fragment-Specific Speaker Notes

Sample GitPitch shortcut syntax:


@ul

- Plain text list item @note[Cool! Fragment specific speaker notes :)]
- Rich **markdown** list *item*
- Link [within](https://gitpitch.com) list item @note[Fragment specific speaker notes are optional.]

@ulend


4. Ordered Lists with Fragment Items

Sample GitPitch shortcut syntax:


@ol

- Plain text list item
- Rich **markdown** list *item*
- Link [within](https://gitpitch.com) list item

@olend


5. Ordered Lists with Custom CSS Class and Fragment Items

Sample GitPitch shortcut syntax:


@ol[roman]

- Plain text list item
- Rich **markdown** list *item*
- Link [within](https://gitpitch.com) list item

@olend

Where roman corresponds to a sample custom CSS class you have defined in the custom css for your slideshow presentation. You can use this syntax to apply any CSS customization to the layout and rendering of lists on your slides.


6. Ordered Lists with Fragment-Specific Speaker Notes

Sample GitPitch shortcut syntax:


@ol

- Plain text list item @note[Cool! Fragment specific speaker notes :)]
- Rich **markdown** list *item*
- Link [within](https://gitpitch.com) list item @note[Fragment specific speaker notes are optional.]

@olend


7. Static Lists With Fragments Disabled

The same markdown shortcut syntax for working with list fragments can also be used to create static lists. This syntax allows you to specify zero, one, or more custom CSS classes for your list while rendering the full set of list items statically, without fragments.

For example, the following basic syntax can be used to render a static list:

@ol[](false)

- Plain text list item
- Rich **markdown** list *item*
- Link [within](https://gitpitch.com) list item

@olend

The following syntax can be used to render a static list while applying a custom CSS class for that list:

@ul[square-bullets](false)

- Plain text list item
- Rich **markdown** list *item*
- Link [within](https://gitpitch.com) list item

@ulend