From 1651beb2c162f64a55d17f8f62223d82418569c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Tue, 4 Jan 2022 13:26:23 +0100 Subject: Remove mmark Closes #9350 --- helpers/content.go | 3 --- helpers/general_test.go | 1 - 2 files changed, 4 deletions(-) (limited to 'helpers') diff --git a/helpers/content.go b/helpers/content.go index 2d26a0c48..080e31909 100644 --- a/helpers/content.go +++ b/helpers/content.go @@ -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() } diff --git a/helpers/general_test.go b/helpers/general_test.go index db8cb30a8..7fe00c51a 100644 --- a/helpers/general_test.go +++ b/helpers/general_test.go @@ -46,7 +46,6 @@ func TestResolveMarkup(t *testing.T) { {"rst", "rst"}, {"pandoc", "pandoc"}, {"pdc", "pandoc"}, - {"mmark", "mmark"}, {"html", "html"}, {"htm", "html"}, {"org", "org"}, -- cgit v1.2.3