Expand description
Tips declared in files: tips/<id>.md, a header between --- lines,
then a # Title heading and the text.
---
id: photos.rate
surface: focusedPanel == 'photos.grid'
command: photos.rate
target: photos.rating
---
# Rate quickly
Press {key} to rate the selected photos, **0** to clear the rating.| Header | What | Default |
|---|---|---|
id | the tip’s id, prefixed by its plugin’s | the file’s name |
surface | a when clause: where the tip makes sense | anywhere |
command | the command it teaches; once used, the tip is not picked | none |
target | the name of what it is about (super::target) | none: a corner |
contextual | true: shown only where the application asks (super::hint) | false |
The text keeps paragraphs (a blank line), **bold**, `code`,
{key} (the command’s key binding) and {key:<command>} (another
command’s).
Structs§
- TipError
- What is wrong with a tip’s file.
Constants§
- HEADER_
KEYS - The header’s keys.