package
Version:
v0.1.9
Opens a new window with list of versions in this module.
Published: Feb 16, 2026
License: MIT
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package highlight applies syntax highlighting to HTTP body content.
Highlight applies syntax highlighting to body based on contentType.
Returns ANSI-colored string. Falls back to plain text for unknown types.
IsBinary reports whether the content is binary based on content-type and body inspection.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.