Documentation
¶
Overview ¶
Package highlight provides small, terminal-safe syntax highlighting for human-facing previews. It deliberately does not alter source content or participate in scanning, token counts, or selection.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Render ¶
Render highlights complete content. It is intended for a terminal writer; callers must decide whether their output is a TTY before enabling it.
func RenderLine ¶
RenderLine highlights one line. Keeping this operation line-local makes it suitable for the TUI, which can render only the visible preview rows.
Types ¶
Click to show internal directories.
Click to hide internal directories.