Course Lecture Workflow
Use this path for teaching decks, tutorials, and structured lessons where the audience needs concepts, examples, and checkpoints.
bash
npx -y slidev-theme-scholarly init lecture --template basicRecommended layouts
- toc for a lesson outline.
- section for module breaks.
- two-cols for concept/example pairs.
- auto-size for text-heavy explanations.
- focus for key takeaways.
Recommended components
- Theorem for definitions, lemmas, and proofs.
- Block for notes, warnings, and examples.
- Steps for procedures.
- Columns for examples beside explanations.
- Highlight for short terms, not long paragraphs.
Useful snippets
bash
pnpm exec sch snippet append theorem --file slides.md
pnpm exec sch snippet append block --file slides.md
pnpm exec sch snippet append section --file slides.mdUse examples early and move optional derivations to appendix or backup slides.
Theme mode and contrast
Lecture slides are often read from the back of a room. Keep explanatory slides in contentMode: light with chromeMode: match, use sectionMode: dark for separation, and avoid low contrast quote or Highlight combinations. See theme mode and contrast.