community: github.com/documize/community/domain/section/markdown Index | Files

package markdown

import "github.com/documize/community/domain/section/markdown"

Index

Package Files

markdown.go

type Provider Uses

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

Provider represents Markdown

func (*Provider) Command Uses

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

Command stub.

func (*Provider) Meta Uses

func (*Provider) Meta() provider.TypeMeta

Meta describes us

func (*Provider) Refresh Uses

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

Refresh just sends back data as-is.

func (*Provider) Render Uses

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

Render converts markdown data into HTML suitable for browser rendering.

Package markdown imports 5 packages (graph) and is imported by 1 packages. Updated 2018-11-15. Refresh now. Tools for package owners.