diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-02 23:38:30 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-02 23:38:30 -0500 |
| commit | 68d51b341bccc72c7b01f547e43ce90a76729244 (patch) | |
| tree | 850ad47429a57861592719a508f4f9e921d6de68 /package-summary.md | |
| parent | 3336442a449ff6722e3ec9c2eff511c817e9a63f (diff) | |
| download | pearl-68d51b341bccc72c7b01f547e43ce90a76729244.tar.gz pearl-68d51b341bccc72c7b01f547e43ce90a76729244.zip | |
feat(render): collapse the #+ preamble to a styled summary line
The ~9-line #+ keyword block atop every Linear file is now hidden behind a display overlay showing one line: "Pearl - <view> · <count> · <time>", styled large and goldenrod via the new pearl-preamble-summary face. It leads with "Pearl" so it doubles as the buffer's identity marker, the thing that tells you you're in a Pearl buffer and not just another org file. A pearl-hide-preamble defcustom (default t) turns it off for the raw keywords.
The overlay only governs display: the #+ text stays in the buffer, so #+LINEAR-SOURCE parsing, the merge rewrites of the RUN-AT / COUNT / TRUNCATED lines, and refresh all keep working untouched. The summary is composed from those same #+ values, so it stays accurate across merges. It re-applies idempotently on pearl-mode enable and after every render, refresh, and merge, so reopening a file hides it the same way a fresh fetch does.
With the summary now carrying identity, the folded help heading reverts from "* Pearl" back to the descriptive "* Pearl Help".
Diffstat (limited to 'package-summary.md')
0 files changed, 0 insertions, 0 deletions
