Commit f2f5d498 authored by Matthew Holt's avatar Matthew Holt

Markdown defaults to .md

parent 29fec474
...@@ -164,6 +164,11 @@ func parse(c middleware.Controller) ([]MarkdownConfig, error) { ...@@ -164,6 +164,11 @@ func parse(c middleware.Controller) ([]MarkdownConfig, error) {
} }
} }
// If no extensions were specified, assume .md
if len(md.Extensions) == 0 {
md.Extensions = []string{".md"}
}
mdconfigs = append(mdconfigs, md) mdconfigs = append(mdconfigs, md)
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment