From b557f6249f4d298b7cb9146a8e375f6b4304bfe3 Mon Sep 17 00:00:00 2001 From: Anthony Fok Date: Mon, 30 Nov 2015 00:19:04 -0700 Subject: [PATCH] Change plainIdAnchors to plainIDAnchors in docs Also add a note saying that these blackfriday flags are very case-sensitive as of Hugo v0.15. Thanks to @ryanclarke for noticing the change in behaviour. See also spf13/hugo@5838420 --- docs/content/overview/configuration.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/docs/content/overview/configuration.md b/docs/content/overview/configuration.md index f13044bc5..fba39d13c 100644 --- a/docs/content/overview/configuration.md +++ b/docs/content/overview/configuration.md @@ -244,7 +244,7 @@ Its behavior can be modified with the latexDashes flag listed below -plainIdAnchors +plainIDAnchors false FootnoteAnchorPrefix and HeaderIDSuffix @@ -281,7 +281,10 @@ Its behavior can be modified with the latexDashes flag listed below -**Note** that these flags must be grouped under the `blackfriday` key and can be set on **both site and page level**. If set on page, it will override the site setting. Example: +**Notes** + +1. These flags are **very case-sensitive** (as of Hugo v0.15)! +2. These flags must be grouped under the `blackfriday` key and can be set on **both site and page level**. If set on page, it will override the site setting. Example: @@ -294,16 +297,16 @@ Its behavior can be modified with the latexDashes flag listed below -
[blackfriday]
   angledQuotes = true
   fractions = false
-  plainIdAnchors = true
+  plainIDAnchors = true
   extensions = ["hardLineBreak"]
 
blackfriday:
   angledQuotes: true
   fractions: false
-  plainIdAnchors: true
+  plainIDAnchors: true
   extensions:
     - hardLineBreak
 
\ No newline at end of file +