Recent versions of Hugo have changed the default Markdown parser from
blackfriday to goldmark, so the blackfriday settings weren't doing
anything.
Alyssa Ross (2):
docs/website: remove unused hrefTargetBlank setting
docs/website: remove unused plainIDAnchors setting
docs/website/config.toml | 4 ----
1 file changed, 4 deletions(-)
--
2.30.0
Recent versions of Hugo have changed the default Markdown parser from
blackfriday to goldmark. The hrefTargetBlank setting for blackfriday
told it to make all external links open in a new window/tab. goldmark
has no equivalent to this setting, so this functionality has been
lost, but there's no point keeping this setting around when it isn't
doing anything.
---
docs/website/config.toml | 1 -
1 file changed, 1 deletion(-)
diff --git a/docs/website/config.toml b/docs/website/config.toml
index a4ba4fa8..7a5c9e7a 100644
--- a/docs/website/config.toml+++ b/docs/website/config.toml
@@ -22,4 +22,3 @@ DefaultContentLanguage = "en"
[blackfriday]
plainIDAnchors = true
- hrefTargetBlank = true
--
2.30.0
Recent versions of Hugo have changed the default Markdown parser from
blackfriday to goldmark. The plainIDAnchors setting for blackfriday
told it to use GitHub-style IDs for anchor links. goldmark does this
by default, so there should be no change in behaviour by removing this
obsolete setting.
---
docs/website/config.toml | 3 ---
1 file changed, 3 deletions(-)
diff --git a/docs/website/config.toml b/docs/website/config.toml
index 7a5c9e7a..e608631f 100644
--- a/docs/website/config.toml+++ b/docs/website/config.toml
@@ -19,6 +19,3 @@ DefaultContentLanguage = "en"
[markup.goldmark.renderer]
unsafe = true
--[blackfriday]- plainIDAnchors = true
--
2.30.0