summaryrefslogtreecommitdiffstats
path: root/hugolib/shortcode.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/shortcode.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/shortcode.go')
-rw-r--r--hugolib/shortcode.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/hugolib/shortcode.go b/hugolib/shortcode.go
index 45d5f1ca8..e718d861a 100644
--- a/hugolib/shortcode.go
+++ b/hugolib/shortcode.go
@@ -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