Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ImageProtocolSupported ¶ added in v0.18.0
func ImageProtocolSupported() bool
ImageProtocolSupported checks if any supported image protocol terminal is detected.
func ProcessBody ¶
func ProcessBody(rawBody string, h1Style, h2Style, bodyStyle lipgloss.Style, disableImages bool) (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, disableImages bool) (string, error)
ProcessBodyWithInline renders the body and resolves CID inline images when provided.
Types ¶
type InlineImage ¶ added in v0.11.0
Click to show internal directories.
Click to hide internal directories.