Versions in this module Expand all Collapse all v0 v0.11.0 Nov 16, 2018 Changes in this version + func GetDefaultTemplate() *template.Template + func SetTemplate(t *template.Template, name, filename string) error + type Config struct + Extensions map[string]struct{} + IndexFiles []string + PathScope string + Renderer blackfriday.Renderer + Scripts []string + Styles []string + Template *template.Template + TemplateFiles map[string]*cachedFileInfo + func (c *Config) Markdown(title string, r io.Reader, dirents []os.FileInfo, ctx httpserver.Context) ([]byte, error) + type Data struct + Doc map[string]interface{} + Files []FileInfo + Meta map[string]string + Scripts []string + Styles []string + func (d Data) Include(filename string, args ...interface{}) (string, error) + type FileInfo struct + func (f FileInfo) Summarize(wordcount int) (string, error) + type Markdown struct + Configs []*Config + FileSys http.FileSystem + Next httpserver.Handler + Root string + func (md Markdown) ServeHTTP(w http.ResponseWriter, r *http.Request) (int, error)