external

package
v1.15.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2021 License: MIT Imports: 13 Imported by: 46

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterRenderers added in v1.15.0

func RegisterRenderers()

RegisterRenderers registers all supported third part renderers according settings

Types

type Renderer added in v1.15.0

type Renderer struct {
	*setting.MarkupRenderer
}

Renderer implements markup.Renderer for external tools

func (*Renderer) Extensions added in v1.15.0

func (p *Renderer) Extensions() []string

Extensions returns the supported extensions of the tool

func (*Renderer) Name added in v1.15.0

func (p *Renderer) Name() string

Name returns the external tool name

func (*Renderer) NeedPostProcess added in v1.15.0

func (p *Renderer) NeedPostProcess() bool

NeedPostProcess implements markup.Renderer

func (*Renderer) Render added in v1.15.0

func (p *Renderer) Render(ctx *markup.RenderContext, input io.Reader, output io.Writer) error

Render renders the data of the document to HTML via the external tool.

func (*Renderer) SanitizerRules added in v1.15.0

func (p *Renderer) SanitizerRules() []setting.MarkupSanitizerRule

SanitizerRules implements markup.Renderer

Jump to

Keyboard shortcuts

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