markdown

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2016 License: Apache-2.0 Imports: 9 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Markdown

func Markdown(options ...*Options) echo.MiddlewareFunc

Types

type Options

type Options struct {
	Path               string   `json:"path"` //UrlPath
	MarkdownExtensions []string `json:"markdownExtensions"`
	Index              string   `json:"index"`
	Root               string   `json:"root"`
	Browse             bool     `json:"browse"`
	Preprocessor       func(echo.Context, []byte) []byte
	Filter             func(string) bool // true: ok; false: ignore
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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