feat: draw the word github.com draws for ##[error] and friends #32
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/marker-labels"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Checklist
Problem
The raw byte is only a marker — the word is github.com's rendering of it:
We concealed the marker and turned the line red, so the word was lost and
colour became the only signal for what the line is.
Solution
Inline virtual text where the marker was, sharing one extmark with the indent
already sitting at that column so the two cannot fight over ordering.
Notice:comes along for
##[notice].This is the same substitution the timestamp column already makes — showing
Mon, 27 Jul 2026 15:14:08 GMTwhere the bytes say2026-07-27T15:14:08.0000000Z. The bytes are untouched either way, so yankingstill gives you
##[error]….One deliberate difference
github.com fills the line with a red or yellow background. This does not, and
I would not:
CiFailandCiAttentionlink toDiagnosticErrorandDiagnosticWarn, which are foreground groups, and painting a full-widthbackground would mean breaking that link and deciding a colour on the reader's
behalf.
[command]and##[group]get no label, matching github.com, whichstyles those without naming them.
Pull request closed