Documentation
¶
Overview ¶
Package syntax wraps chroma to emit ANSI-colored code that nests safely inside a lipgloss background-color span. The standard chroma TTY formatter terminates every token with ESC[0m (full SGR reset), which would clear the diff line's bg tint mid-row. We emit only foreground SGR plus a foreground-only reset (39) so an outer Background() stays intact.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.