mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-27 06:00:25 +03:00
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
This commit is contained in:
parent
3b478f50b7
commit
0f8dc47037
22 changed files with 71 additions and 1675 deletions
|
@ -375,7 +375,7 @@ func (p *pageContentOutput) RenderString(args ...any) (template.HTML, error) {
|
|||
if opts.Markup != "" && opts.Markup != p.p.m.markup {
|
||||
var err error
|
||||
// TODO(bep) consider cache
|
||||
conv, err = p.p.m.newContentConverter(p.p, opts.Markup, nil)
|
||||
conv, err = p.p.m.newContentConverter(p.p, opts.Markup)
|
||||
if err != nil {
|
||||
return "", p.p.wrapError(err)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue