markdown

package
v1.64.2 Latest Latest
Warning

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

Go to latest
Published: May 11, 2018 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	Runtime *env.Runtime
	Store   *domain.Store
}

Provider represents Markdown

func (*Provider) Command

func (*Provider) Command(ctx *provider.Context, w http.ResponseWriter, r *http.Request)

Command stub.

func (*Provider) Meta

func (*Provider) Meta() provider.TypeMeta

Meta describes us

func (*Provider) Refresh

func (*Provider) Refresh(ctx *provider.Context, config, data string) string

Refresh just sends back data as-is.

func (*Provider) Render

func (*Provider) Render(ctx *provider.Context, config, data string) string

Render converts markdown data into HTML suitable for browser rendering.

Jump to

Keyboard shortcuts

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