Documentation ¶
Index ¶
Constants ¶
View Source
const Name = "html"
Variables ¶
This section is empty.
Functions ¶
func Constructor ¶
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
Click to show internal directories.
Click to hide internal directories.