utils

package
v1.77.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 29, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HighlightCode

func HighlightCode(code string, language string, syntaxTheme string) (string, error)

HighlightCode returns a syntax highlighted code for the specified language

func PrintStyledText added in v1.56.0

func PrintStyledText(text string) error

PrintStyledText prints a styled text to the terminal

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL