diff options
author | Bjørn Erik Pedersen <[email protected]> | 2022-05-28 11:01:47 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2022-05-29 11:50:58 +0200 |
commit | 0f8dc47037f59156c04540d97ed1b588e6bc1164 (patch) | |
tree | 78d76bb4d52b2f35b609013fde6ec4f5e19730c8 /markup/markup.go | |
parent | 3b478f50b7408ad78d085fa6dbc3c7a683c9d943 (diff) | |
download | hugo-0f8dc47037f59156c04540d97ed1b588e6bc1164.tar.gz hugo-0f8dc47037f59156c04540d97ed1b588e6bc1164.zip |
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 'markup/markup.go')
-rw-r--r-- | markup/markup.go | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/markup/markup.go b/markup/markup.go index 13e5f3042..f5e46ad90 100644 --- a/markup/markup.go +++ b/markup/markup.go @@ -25,7 +25,6 @@ import ( "github.com/gohugoio/hugo/markup/org" "github.com/gohugoio/hugo/markup/asciidocext" - "github.com/gohugoio/hugo/markup/blackfriday" "github.com/gohugoio/hugo/markup/converter" "github.com/gohugoio/hugo/markup/pandoc" "github.com/gohugoio/hugo/markup/rst" @@ -66,9 +65,6 @@ func NewConverterProvider(cfg converter.ProviderConfig) (ConverterProvider, erro if err := add(goldmark.Provider); err != nil { return nil, err } - if err := add(blackfriday.Provider); err != nil { - return nil, err - } if err := add(asciidocext.Provider, "ad", "adoc"); err != nil { return nil, err } @@ -96,7 +92,7 @@ type ConverterProvider interface { } type converterRegistry struct { - // Maps name (md, markdown, blackfriday etc.) to a converter provider. + // Maps name (md, markdown, goldmark etc.) to a converter provider. // Note that this is also used for aliasing, so the same converter // may be registered multiple times. // All names are lower case. |