Skip to content

feat: termshow highlights#192

Merged
rich-iannone merged 21 commits into
mainfrom
feat-termshow-highlights
May 27, 2026
Merged

feat: termshow highlights#192
rich-iannone merged 21 commits into
mainfrom
feat-termshow-highlights

Conversation

@rich-iannone
Copy link
Copy Markdown
Member

This PR introduces the Highlights system for termshow. This allows for decoration of regions of the terminal space or matched text. We allow for different types of highlighting (e.g., boxes, backgrounds, underlines, etc.) with many styling options for each (e.g., line/fill colors, build in/out animations, etc.).

The declarations are expressed the in the YAML configuration for a termshow. And the Termshow Editor has full support for interactively setting up highlight, previewing what they look like (and when they appear), and writing to the YAML upon save. In addition to the new Highlights timeline and item inspectors, the Editor experience also gains a Preview button for rendering the termshow via Quarto (for verification of how the termshow would actually look like in a Great Docs page; the interactive preview is good but it is an emulation meant for quick iteration/inspection).

These changes really lay the groundwork for much richer and more expressive terminal presentations, and indeed this flexible highlight system can be extended further in the future.

@rich-iannone rich-iannone merged commit 65e637d into main May 27, 2026
7 checks passed
@rich-iannone rich-iannone deleted the feat-termshow-highlights branch May 27, 2026 19:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant