diff options
author | Bjørn Erik Pedersen <[email protected]> | 2022-01-04 13:26:23 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2022-01-04 17:10:39 +0100 |
commit | 1651beb2c162f64a55d17f8f62223d82418569c9 (patch) | |
tree | 05a18253c54384a31cade948189f7b58d4608a17 /helpers | |
parent | 2b6063c3e388056597af88709ff017d15f53c962 (diff) | |
download | hugo-1651beb2c162f64a55d17f8f62223d82418569c9.tar.gz hugo-1651beb2c162f64a55d17f8f62223d82418569c9.zip |
Remove mmark
Closes #9350
Diffstat (limited to 'helpers')
-rw-r--r-- | helpers/content.go | 3 | ||||
-rw-r--r-- | helpers/general_test.go | 1 |
2 files changed, 0 insertions, 4 deletions
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"}, |