Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Init ¶
func Init(allDocs GetAllDocsFn)
Types ¶
type FragmentFormatterEx ¶
type FragmentFormatterEx struct {
// contains filtered or unexported fields
}
func NewFragmentFormatterEx ¶
func NewFragmentFormatterEx(before, after string) *FragmentFormatterEx
func (*FragmentFormatterEx) Format ¶
func (a *FragmentFormatterEx) Format(f *highlight.Fragment, orderedTermLocations highlight.TermLocations) string
type GetAllDocsFn ¶
type GetAllDocsFn func() <-chan Document
Click to show internal directories.
Click to hide internal directories.