slidev-code-blocks

Installation
SKILL.md

Slidev Code Blocks

This skill covers everything about displaying code in Slidev presentations, including syntax highlighting with Shiki, line highlighting, code groups, and importing external snippets.

When to Use This Skill

  • Displaying code snippets in presentations
  • Highlighting specific lines of code
  • Creating step-by-step code reveals
  • Showing code comparisons
  • Importing code from external files

Basic Code Blocks

Simple Code Block

```javascript
function greet(name) {
Related skills
Installs
88
GitHub Stars
29
First Seen
Jan 25, 2026