mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-17 21:01:26 +02: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:
@@ -174,7 +174,7 @@ type shortcode struct {
|
||||
templs []tpl.Template // All output formats
|
||||
|
||||
// If set, the rendered shortcode is sent as part of the surrounding content
|
||||
// to Blackfriday and similar.
|
||||
// to Goldmark and similar.
|
||||
// Before Hug0 0.55 we didn't send any shortcode output to the markup
|
||||
// renderer, and this flag told Hugo to process the {{ .Inner }} content
|
||||
// separately.
|
||||
@@ -182,7 +182,7 @@ type shortcode struct {
|
||||
// {{ $_hugo_config := `{ "version": 1 }`}}
|
||||
doMarkup bool
|
||||
|
||||
// the placeholder in the source when passed to Blackfriday etc.
|
||||
// the placeholder in the source when passed to Goldmark etc.
|
||||
// This also identifies the rendered shortcode.
|
||||
placeholder string
|
||||
|
||||
|
Reference in New Issue
Block a user