Cheat Sheets and Guides


Presentation Syntax

Slide Definition

  • #: Heading Slide / Whole Slide Title
  • ##: Normal Slide Title
  • ###: In text header


In Text Definition

  • -: Bullet Point
  • > -: Block Quotes
  • 1., 2.: numbered list
  • * * or _ _: Italic Text
  • ** ** or __ __: Bold Text
  • ~~ ~~: Strike through
  • [](<>): In text links
  • ![](" "): In text image
  • Code chunks use back-ticks
  • $ $: TeX Formula


Layout Definition

Dual Column Layout

  • <div style="float: left; width: 50%;"> followed by </div> containing your text (left column)
  • <div style="float: right; width: 50%;"> followed by </div> containing your text (right column)

Position your text

  • Centered Text <div class="centered"> followed by </div>

Coloured text

  • <div class="red2"> followed by </div>, text will be between these div

Add Presenter Notes

  • <div class="notes"> followed by </div>


Slide Metadata Definitions

Add these attributes (defined in {}) to slides after your title (defined by # or ##).

  • {.build} Incremental Display (build up slides section by section)
  • {.smaller} Reduced Text Size


Metadata Parameters Definitions

The header in an R markdown presentation, defines the YAML metadata, such as outlining the:

  • title:
  • author:
  • date:
  • output:
  • Display bullet points with incremental: true
  • Presentation size with widescreen: true
  • Text size with smaller: true or larger: true
  • Transition Speed with transition: and either default, slower, faster
  • Adding a logo, logo:


Presentation Shortcuts

  • f: enable fullscreen mode
  • w: toggle widescreen mode
  • o: enable overview mode
  • h: enable code highlight mode
  • p: show presenter notes
  • esc: to exist any of the modes listed