lexers

package
v0.20.5 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(opts ...Option) (chroma.Lexer, error)

func List

func List() []chroma.Lexer

Types

type Option

type Option func(*option)

func WithFilename

func WithFilename(name string) Option

func WithLanguage

func WithLanguage(lang string) Option

func WithSource

func WithSource(src string) Option

Jump to

Keyboard shortcuts

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