zutils/pkg/colors/colors.go
selamanapps 800ab8464a feat: add syntax highlighting and markdown rendering
- Add 'z read' command with chroma syntax highlighting and line numbers
- Add 'z md' command for rendering markdown to terminal
- Add Italic, Dim, Underline color constants
- Move ReadFileContent to shared pkg/formatter/utils.go
- Custom markdown parser with colored headings, lists, checkboxes
- Code blocks in markdown use chroma syntax highlighting
2026-05-02 00:43:22 +03:00

16 lines
287 B
Go

package colors
const (
Reset = "\033[0m"
Red = "\033[31m"
Green = "\033[32m"
Yellow = "\033[33m"
Blue = "\033[34m"
Purple = "\033[35m"
Cyan = "\033[36m"
Gray = "\033[90m"
Bold = "\033[1m"
Italic = "\033[3m"
Dim = "\033[2m"
Underline = "\033[4m"
)