hugo: github.com/gohugoio/hugo/markup/converter/hooks Index | Files

package hooks

import "github.com/gohugoio/hugo/markup/converter/hooks"

Index

Package Files

hooks.go

type LinkContext Uses

type LinkContext interface {
    Page() interface{}
    Destination() string
    Title() string
    Text() string
    PlainText() string
}

type LinkRenderer Uses

type LinkRenderer interface {
    Render(w io.Writer, ctx LinkContext) error
    identity.Provider
}

type Render Uses

type Render struct {
    LinkRenderer  LinkRenderer
    ImageRenderer LinkRenderer
}

func (*Render) Eq Uses

func (r *Render) Eq(other interface{}) bool

Package hooks imports 2 packages (graph) and is imported by 12 packages. Updated 2019-12-19. Refresh now. Tools for package owners.