A template's own sentence

On /templates, a template repository's one-line description is the first sentence of its README.md: headings, badges and code fences are skipped, links and emphasis become plain text, tags are dropped, and the sentence is cut at 140 characters with an ellipsis. A repository with no README (or nothing sayable in it) keeps the generic words. The filter box searches this sentence too.

What was read is kept on the running forge, keyed by the default-branch tip, so a listing costs one ref read until the template changes.

Try it: add a README.md to a marked template and open /templates.

The terminal (both doors): the Templates screen shows the same sentence under the cursor, a moment after it opens.

Pinned by test/template-says.test.ts.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs