summaryrefslogtreecommitdiffstats
path: root/hugolib/config.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-05-28 11:01:47 +0200
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2022-05-29 11:50:58 +0200
commit0f8dc47037f59156c04540d97ed1b588e6bc1164 (patch)
tree78d76bb4d52b2f35b609013fde6ec4f5e19730c8 /hugolib/config.go
parent3b478f50b7408ad78d085fa6dbc3c7a683c9d943 (diff)
Remove Blackfriday markdown engine
It has been deprecated for a long time, its v1 version is not maintained anymore, and there are many known issues. Goldmark should be a mature replacement by now. Closes #9934
Diffstat (limited to 'hugolib/config.go')
-rw-r--r--hugolib/config.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/hugolib/config.go b/hugolib/config.go
index ef23086b5..8444d15d9 100644
--- a/hugolib/config.go
+++ b/hugolib/config.go
@@ -108,11 +108,6 @@ func LoadConfig(d ConfigSourceDescriptor, doWithConfig ...func(cfg config.Provid
}
}
- // Config deprecations.
- if l.cfg.GetString("markup.defaultMarkdownHandler") == "blackfriday" {
- helpers.Deprecated("markup.defaultMarkdownHandler=blackfriday", "See https://gohugo.io//content-management/formats/#list-of-content-formats", false)
- }
-
// Some settings are used before we're done collecting all settings,
// so apply OS environment both before and after.
if err := l.applyOsEnvOverrides(d.Environ); err != nil {