Versions in this module Expand all Collapse all v1 v1.1.0 Aug 9, 2026 v1.0.0 Aug 3, 2026 Changes in this version + func RenderYAML(node *AnnotatedNode, theme Theme, opts RenderOptions) string + type AnnotatedNode struct + Change ChangeType + Children map[string]*AnnotatedNode + List []*AnnotatedNode + Value any + func Diff(a, b map[string]any) *AnnotatedNode + type ChangeType int + const Added + const Modified + const Removed + const Unchanged + type RenderOptions struct + ChangesOnly bool + EnableBackgroundHighlight bool + IndentSize int + type Theme struct + AddedBg lipgloss.Style + BoolStyle lipgloss.Style + KeyStyle lipgloss.Style + ModifiedBg lipgloss.Style + NullStyle lipgloss.Style + NumberStyle lipgloss.Style + RemovedBg lipgloss.Style + StringStyle lipgloss.Style