mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-30 22:39:58 +02:00
@@ -215,9 +215,6 @@ 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", true)
|
||||
}
|
||||
if conv := c.Converters.Get(in); conv != nil {
|
||||
return conv.Name()
|
||||
}
|
||||
|
@@ -46,7 +46,6 @@ func TestResolveMarkup(t *testing.T) {
|
||||
{"rst", "rst"},
|
||||
{"pandoc", "pandoc"},
|
||||
{"pdc", "pandoc"},
|
||||
{"mmark", "mmark"},
|
||||
{"html", "html"},
|
||||
{"htm", "html"},
|
||||
{"org", "org"},
|
||||
|
Reference in New Issue
Block a user