Per-Slide Frontmatter
Configuration options for individual slides.
Layout
---
layout: center
---Available layouts: default, cover, center, two-cols, two-cols-header, image, image-left, image-right, iframe, iframe-left, iframe-right, quote, section, statement, fact, full, intro, end, none
Background
---
background: /image.jpg
backgroundSize: cover
class: text-white
---Click Count
---
clicks: 5 # Total clicks for this slide
clicksStart: 0 # Starting click number
---Transitions
---
transition: fade # Slide transition
---Or different for forward/backward:
---
transition: slide-left | slide-right
---Zoom
---
zoom: 0.8 # Scale content (0.8 = 80%)
---Hide Slide
---
disabled: true # Hide this slide
# or
hide: true
---Table of Contents
---
hideInToc: true # Hide from Toc component
level: 2 # Override heading level
title: Custom Title # Override slide title
---Import External File
---
src: ./slides/intro.md # Import markdown file
---With specific slides:
---
src: ./other.md#2,5-7 # Import slides 2, 5, 6, 7
---Route Alias
---
routeAlias: intro # URL: /intro instead of /1
---Preload
---
preload: false # Don't mount until entering
---Draggable Positions
---
dragPos:
logo: 100,50,200,100,0 # Left,Top,Width,Height,Rotate
arrow: 300,200,50,50,45
---Image Layouts
---
layout: image-left
image: /photo.jpg
backgroundSize: contain
class: my-custom-class
---Iframe Layouts
---
layout: iframe
url: https://example.com
---Two Columns
---
layout: two-cols
---
# Left Side
Content
::right::
# Right Side
ContentTwo Columns with Header
---
layout: two-cols-header
---
# Header
::left::
Left content
::right::
Right contentFull Example
---
layout: center
background: /bg.jpg
class: text-white text-center
transition: fade
clicks: 3
zoom: 0.9
hideInToc: false
---
# Slide Content