highlighter

package
v0.9.11 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DEFAULT_STYLE = "monokai"
	// DEFAULT_FORMATTER = "terminal16m"
	MAX_READ_SIZE = 10_000_000
)

Variables

This section is empty.

Functions

func Go

func Help

func Help() string

Types

type Chroma

type Chroma struct {
	// contains filtered or unexported fields
}

type Options

type Options struct {
	FileName      string
	StyleHint     string
	LexerHint     string
	FormatterHint string
}

Jump to

Keyboard shortcuts

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