Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Highlight ¶
func Highlight(filename, content string, chromaTheme string, lineNumColor lipgloss.Color, csvColors []lipgloss.Color) string
Highlight returns syntax-highlighted content with line numbers. It detects the language from the filename extension. chromaTheme is the Chroma style name (e.g. "catppuccin-mocha"). lineNumColor is the color for line numbers. csvColors are the rainbow colors for CSV columns.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.