code
Guide for Slidev code block features. Use when configuring syntax highlighting, line highlighting, Monaco editor, Magic Move animations, TwoSlash type…
by vinnie357★ 30 GitHub stars
Install code in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
Slidev Code Blocks
Code presentation features including highlighting, editor integration, and animated transitions.
For code block syntax, highlighting options, and editor configuration, see references/code.md.
Anti-fabrication
This skill follows core:anti-fabrication. Verified claim-by-claim against live
slidevjs/slidev source (claude-skills-223, 2026-08-05) — line-highlighting and Magic
Move against docs/features/line-highlighting.md and docs/features/shiki-magic-move.md
(added the undocumented {hide}/{none} line values and Magic Move's {at:}/duration/
title-bar options); code groups against docs/features/code-groups.md (corrected: groups
require comark: true, not mdc: true — mdc is a deprecated-but-working alias);
Monaco editor against docs/features/monaco-editor.md and packages/types/src/ frontmatter.ts (all confirmed, no changes); import-snippet against docs/features/ import-snippet.md (confirmed exact match including the "since v0.47.0" version claim).
The finally code-block option was independently re-verified against source
(CodeBlockWrapper.vue's prop declaration) after two earlier revisions of this pass
wrongly called it nonexistent from a docs-only search. Re-verify against a fresh
slidevjs/slidev clone before asserting a code-block feature this skill doesn't cover.
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
- references/code.md
FAQ
What does the code skill do?
Guide for Slidev code block features. Use when configuring syntax highlighting, line highlighting, Monaco editor, Magic Move animations, TwoSlash type annotations, or code groups.
How do I install the code skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the code skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…