Files
agent-skills/skills/slidev/references/core-headmatter.md
Jason Woltje f5792c40be feat: Complete fleet — 94 skills across 10+ domains
Pulled ALL skills from 15 source repositories:
- anthropics/skills: 16 (docs, design, MCP, testing)
- obra/superpowers: 14 (TDD, debugging, agents, planning)
- coreyhaines31/marketingskills: 25 (marketing, CRO, SEO, growth)
- better-auth/skills: 5 (auth patterns)
- vercel-labs/agent-skills: 5 (React, design, Vercel)
- antfu/skills: 16 (Vue, Vite, Vitest, pnpm, Turborepo)
- Plus 13 individual skills from various repos

Mosaic Stack is not limited to coding — the Orchestrator and
subagents serve coding, business, design, marketing, writing,
logistics, analysis, and more.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 16:27:42 -06:00

189 lines
3.1 KiB
Markdown

---
name: headmatter
description: Deck-wide configuration options in the first frontmatter block
---
# Headmatter Configuration
Deck-wide configuration options in the first frontmatter block.
## Theme & Appearance
```yaml
---
theme: default # Theme package or path
colorSchema: auto # 'auto' | 'light' | 'dark'
favicon: /favicon.ico # Favicon URL
aspectRatio: 16/9 # Slide aspect ratio
canvasWidth: 980 # Canvas width in px
---
```
## Fonts
```yaml
---
fonts:
sans: Roboto
serif: Roboto Slab
mono: Fira Code
provider: google # 'google' | 'none'
---
```
## Code & Highlighting
```yaml
---
highlighter: shiki # Code highlighter
lineNumbers: false # Show line numbers
monaco: true # Enable Monaco editor ('true' | 'dev' | 'build')
twoslash: true # Enable TwoSlash
monacoTypesSource: local # 'local' | 'cdn' | 'none'
---
```
## Features
```yaml
---
drawings:
enabled: true # Enable drawing mode
persist: false # Save drawings
presenterOnly: false # Only presenter can draw
syncAll: true # Sync across instances
record: dev # Enable recording
selectable: true # Text selection
contextMenu: true # Right-click menu
wakeLock: true # Prevent screen sleep
---
```
## Export & Build
```yaml
---
download: false # PDF download button
exportFilename: slides # Export filename
export:
format: pdf
timeout: 30000
withClicks: false
withToc: false
---
```
## Info & SEO
```yaml
---
title: My Presentation
titleTemplate: '%s - Slidev'
author: Your Name
keywords: slidev, presentation
info: |
## About
Presentation description
---
```
## SEO Meta Tags
```yaml
---
seoMeta:
ogTitle: Presentation Title
ogDescription: Description
ogImage: https://example.com/og.png
ogUrl: https://example.com
twitterCard: summary_large_image
twitterTitle: Title
twitterDescription: Description
twitterImage: https://example.com/twitter.png
---
```
## Addons & Themes
```yaml
---
theme: seriph
addons:
- excalidraw
- '@slidev/plugin-notes'
---
```
## Theme Configuration
```yaml
---
themeConfig:
primary: '#5d8392'
# Theme-specific options
---
```
## Defaults
Set default frontmatter for all slides:
```yaml
---
defaults:
layout: default
transition: fade
---
```
## HTML Attributes
```yaml
---
htmlAttrs:
dir: ltr
lang: en
---
```
## Presenter & Browser
```yaml
---
presenter: true # 'true' | 'dev' | 'build'
browserExporter: dev # 'true' | 'dev' | 'build'
routerMode: history # 'history' | 'hash'
---
```
## Remote Assets
```yaml
---
remoteAssets: false # Download remote assets locally
plantUmlServer: https://www.plantuml.com/plantuml
---
```
## Full Template
```yaml
---
theme: default
title: Presentation Title
author: Your Name
highlighter: shiki
lineNumbers: true
transition: slide-left
aspectRatio: 16/9
canvasWidth: 980
fonts:
sans: Roboto
mono: Fira Code
drawings:
enabled: true
persist: true
download: true
---
```