Agent instructions, skills, SSH host aliases and expansion triggers are worth having identical on every machine one person owns, and belong in none of the shared configuration. They live in user/ now, with a manifest saying where each piece goes and a link-user stage that puts it there. That stage does nothing unless the machine said yes. Somebody who clones Panama to try the desktop keeps their own ~/.claude/CLAUDE.md exactly where it was; the question names the destinations and defaults to no. Anything displaced goes to config/old rather than being deleted. ~/.claude/CLAUDE.md and ~/.codex/AGENTS.md were byte-identical copies of one file, which is the drift this exists to prevent. Also adds the vitals toggles for the battery and Claude usage readouts, which had preferences and no way to reach them.
51 lines
839 B
Markdown
51 lines
839 B
Markdown
---
|
|
name: line-highlighting
|
|
description: Highlight specific lines in code blocks with static or click-based dynamic highlighting
|
|
---
|
|
|
|
# Line Highlighting
|
|
|
|
Highlight specific lines in code blocks.
|
|
|
|
## Static Highlighting
|
|
|
|
````md
|
|
```ts {2,3}
|
|
function add(
|
|
a: Ref<number> | number,
|
|
b: Ref<number> | number
|
|
) {
|
|
return computed(() => unref(a) + unref(b))
|
|
}
|
|
```
|
|
````
|
|
|
|
## Dynamic (Click-based)
|
|
|
|
Use `|` to separate stages:
|
|
|
|
````md
|
|
```ts {2-3|5|all}
|
|
function add(
|
|
a: Ref<number> | number,
|
|
b: Ref<number> | number
|
|
) {
|
|
return computed(() => unref(a) + unref(b))
|
|
}
|
|
```
|
|
````
|
|
|
|
Click progression: lines 2-3 → line 5 → all lines
|
|
|
|
## Special Values
|
|
|
|
- `hide` - Hide the code block
|
|
- `none` - Show code without highlighting
|
|
- `all` - Highlight all lines
|
|
|
|
````md
|
|
```ts {hide|none|all}
|
|
// Hidden → No highlight → All highlighted
|
|
```
|
|
````
|