html

package
v0.0.0-...-d00bc91 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2015 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "html"

Variables

This section is empty.

Functions

func Constructor

func Constructor(config map[string]interface{}, cache *registry.Cache) (highlight.FragmentFormatter, error)

Types

type FragmentFormatter

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

func NewFragmentFormatter

func NewFragmentFormatter(before, after string) *FragmentFormatter

func (*FragmentFormatter) Format

func (a *FragmentFormatter) Format(f *highlight.Fragment, orderedTermLocations highlight.TermLocations) string

Jump to

Keyboard shortcuts

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