Deprecate mmark

Fixes #6486
This commit is contained in:
Bjørn Erik Pedersen
2019-11-25 20:04:49 +01:00
parent e3451371bd
commit 33d733300a
6 changed files with 35 additions and 35 deletions

View File

@@ -198,6 +198,9 @@ func (c *ContentSpec) ResolveMarkup(in string) string {
case "html", "htm":
return "html"
default:
if in == "mmark" {
Deprecated("Markup type mmark", "See https://gohugo.io//content-management/formats/#list-of-content-formats", false)
}
if conv := c.Converters.Get(in); conv != nil {
return conv.Name()
}