Files
agent-skills/skills/slidev/references/code-line-numbers.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

47 lines
735 B
Markdown

---
name: line-numbers
description: Enable line numbering for code blocks globally or per-block
---
# Code Block Line Numbers
Enable line numbering for code blocks.
## Global Setting
Enable for all code blocks in headmatter:
```md
---
lineNumbers: true
---
```
## Per-Block Setting
````md
```ts {6,7}{lines:true,startLine:5}
function add(
a: Ref<number> | number,
b: Ref<number> | number
) {
return computed(() => unref(a) + unref(b))
}
```
````
## Options
- `lines: true/false` - Enable/disable line numbers
- `startLine: number` - Starting line number (default: 1)
## With Line Highlighting
Use `{*}` as placeholder when combining with other features:
````md
```ts {*}{lines:true,startLine:5}
// code here
```
````