postprocessor

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2017 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Postprocessor

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

Postprocessor provides post-processing capabilities for HTML code.

func New

func New(logger logger.Logger, imageProvider *imageprovider.ImageProvider) *Postprocessor

New creates a new Postprocessor.

func (*Postprocessor) Convert

func (postprocessor *Postprocessor) Convert(
	pathProvider paths.Pather,
	itemRoute route.Route,
	files []*model.File,
	html string) (convertedContent string, converterError error)

Convert applies post-processing to the supplied HTML code.

Jump to

Keyboard shortcuts

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