Documentation ¶
Index ¶
Constants ¶
View Source
const Name = "simple"
Variables ¶
This section is empty.
Functions ¶
func Constructor ¶
Types ¶
type Fragmenter ¶
type Fragmenter struct {
// contains filtered or unexported fields
}
func NewFragmenter ¶
func NewFragmenter(fragmentSize int) *Fragmenter
func (*Fragmenter) Fragment ¶
func (s *Fragmenter) Fragment(orig []byte, ot highlight.TermLocations) []*highlight.Fragment
Click to show internal directories.
Click to hide internal directories.