Skip to content

feat: manupulate bodies from plugins#1226

Merged
andrinoff merged 1 commit intofloatpane:masterfrom
andrinoff:feat/color-plugins
May 3, 2026
Merged

feat: manupulate bodies from plugins#1226
andrinoff merged 1 commit intofloatpane:masterfrom
andrinoff:feat/color-plugins

Conversation

@andrinoff
Copy link
Copy Markdown
Member

What?

This adds one focused extension point: post-render body transformation with raw-source access. Plugins can now:

  • Recolor / bold / italicize matched substrings (gsub + matcha.style)
  • Remove parts of the body (gsub with "")
  • Parse the raw HTML/plain source and prepend or fully replace the displayed output

Why?

Plugin SDK previously had no way to touch displayed email content.

Signed-off-by: drew <me@andrinoff.com>
@andrinoff andrinoff requested a review from a team as a code owner May 3, 2026 17:09
@floatpanebot floatpanebot added area/tui Terminal UI / view layer area/plugin Plugin system area/docs Docs site / README enhancement New feature or request labels May 3, 2026
Copy link
Copy Markdown
Member

@LeaWhoCodes LeaWhoCodes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good, thx @andrinoff

@LeaWhoCodes
Copy link
Copy Markdown
Member

/approve

Copy link
Copy Markdown
Member

@floatpanebot floatpanebot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved on behalf of @LeaWhoCodes via /approve command.

@andrinoff andrinoff added this pull request to the merge queue May 3, 2026
Merged via the queue into floatpane:master with commit 3c00cf6 May 3, 2026
15 checks passed
@andrinoff andrinoff deleted the feat/color-plugins branch May 3, 2026 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/docs Docs site / README area/plugin Plugin system area/tui Terminal UI / view layer enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants