Header content on all slides
```
### Custom Shortcuts
Configure in frontmatter:
```md
---
shortcuts:
next: space
prev: shift+space
toggleOverview: o
---
```
### Remote Access
Enable remote control for presentations:
```bash
slidev --remote
```
Access from another device using the displayed URL.
---
## Theming
### Using Themes
Install theme package:
```bash
pnpm add slidev-theme-seriph
```
Configure in headmatter:
```md
---
theme: seriph
---
```
### Available Official Themes
- `default` - Built-in default theme
- `seriph` - Elegant serif theme
- `apple-basic` - Apple-style theme
- `bricks` - Brick-pattern theme
- `shibainu` - Cute Shiba Inu theme
Browse more at https://sli.dev/themes/gallery
### Creating Custom Themes
Generate theme package:
```bash
pnpm create slidev-theme
```
For detailed theme development, see `references/theming.md`.
---
## Best Practices
### Organization
- Use one slide per concept
- Keep slides focused and minimal
- Use layouts consistently
- Group related slides in sections
### Performance
- Optimize images before importing
- Lazy load heavy components
- Use built-in components when possible
- Test export early for large presentations
### Collaboration
- Version control `slides.md` and assets
- Document custom components
- Share themes via npm packages
- Use consistent formatting
### Presenting
- Test presenter mode before presenting
- Prepare speaker notes
- Test all interactive features
- Have PDF backup ready
---
## Troubleshooting
### Build Issues
If build fails, try:
```bash
# Clear cache
rm -rf node_modules/.vite
# Rebuild
slidev build
```
### Export Issues
**Missing content:** Add wait time
```bash
slidev export --wait 2000
```
**Broken emojis:** Install system fonts or use icon libraries
**Large file size:** Export specific slides or reduce image quality
### Port Conflicts
Specify custom port:
```bash
slidev --port 3333
```
### Theme Not Loading
Ensure theme is installed:
```bash
pnpm add slidev-theme-NAME
```
And configured correctly in headmatter:
```md
---
theme: NAME
---
```
---
## Resources
For comprehensive documentation on specific topics, see:
- `references/syntax-guide.md` - Complete Markdown syntax reference
- `references/components-api.md` - Detailed component API documentation
- `references/theming.md` - Theme creation and customization
- `references/features.md` - Advanced features and integrations
### Official Links
- Website: https://sli.dev
- Documentation: https://sli.dev/guide
- GitHub: https://github.com/slidevjs/slidev
- Themes Gallery: https://sli.dev/themes/gallery
- Discord Community: https://chat.sli.dev
---
## Common Workflows
### Creating Basic Presentation
```bash
# Initialize
pnpm create slidev
# Edit slides.md
# Add content with Markdown
# Start dev server
slidev
# Export when done
slidev export
```
### Using Custom Components
```bash
# Create component
mkdir components
cat > components/Counter.vue << 'EOF'