renderer

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RenderHTML

func RenderHTML(opts Options) ([]byte, error)

RenderHTML produces a self-contained HTML file with a dark terminal theme. Consecutive same-role messages are grouped under a single role header.

func RenderMarkdown

func RenderMarkdown(opts Options) ([]byte, error)

RenderMarkdown produces clean GitHub Flavored Markdown with grouped messages.

Types

type Options

type Options struct {
	Messages []parser.Message
	Title    string
}

Options configures the rendering output.

Jump to

Keyboard shortcuts

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