view

package
v0.13.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 10, 2026 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProcessBody

func ProcessBody(rawBody string, h1Style, h2Style, bodyStyle lipgloss.Style) (string, error)

ProcessBody takes a raw email body, decodes it, and formats it as plain text with terminal hyperlinks.

func ProcessBodyWithInline added in v0.11.0

func ProcessBodyWithInline(rawBody string, inline []InlineImage, h1Style, h2Style, bodyStyle lipgloss.Style) (string, error)

ProcessBodyWithInline renders the body and resolves CID inline images when provided.

Types

type InlineImage added in v0.11.0

type InlineImage struct {
	CID    string
	Base64 string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL