~qaul/community

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
2

[PATCH 0/2] docs/website: remove obsolete blackfriday config

Alyssa Ross <hi@alyssa.is>
Details
Message ID
<20210226125109.5705-1-hi@alyssa.is>
DKIM signature
pass
Download raw message
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

[PATCH 1/2] docs/website: remove unused hrefTargetBlank setting

Alyssa Ross <hi@alyssa.is>
Details
Message ID
<20210226125109.5705-2-hi@alyssa.is>
In-Reply-To
<20210226125109.5705-1-hi@alyssa.is> (view parent)
DKIM signature
pass
Download raw message
Patch: +0 -1
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

[PATCH 2/2] docs/website: remove unused plainIDAnchors setting

Alyssa Ross <hi@alyssa.is>
Details
Message ID
<20210226125109.5705-3-hi@alyssa.is>
In-Reply-To
<20210226125109.5705-1-hi@alyssa.is> (view parent)
DKIM signature
pass
Download raw message
Patch: +0 -3
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
Reply to thread Export thread (mbox)