commit b557f6249f4d298b7cb9146a8e375f6b4304bfe3
parent 249cd625412cb68c7ee4dc6a2802210e41e6a836
Author: Anthony Fok <foka@debian.org>
Date: Mon, 30 Nov 2015 00:19:04 -0700
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
Diffstat:
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/docs/content/overview/configuration.md b/docs/content/overview/configuration.md
@@ -244,7 +244,7 @@ Its behavior can be modified with the <code>latexDashes</code> flag listed below
</tr>
<tr>
-<td><code><strong>plainIdAnchors</strong></code></td>
+<td><code><strong>plainIDAnchors</strong></code></td>
<td><code>false</code></td>
<td><code>FootnoteAnchorPrefix</code> and <code>HeaderIDSuffix</code></td>
</tr>
@@ -281,7 +281,10 @@ Its behavior can be modified with the <code>latexDashes</code> flag listed below
</table>
-**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:
<table class="table">
<thead>
@@ -294,16 +297,16 @@ Its behavior can be modified with the <code>latexDashes</code> flag listed below
<td style="width: 50%;"><pre><code>[blackfriday]
angledQuotes = true
fractions = false
- plainIdAnchors = true
+ plainIDAnchors = true
extensions = ["hardLineBreak"]
</code></pre></td>
<td><pre><code>blackfriday:
angledQuotes: true
fractions: false
- plainIdAnchors: true
+ plainIDAnchors: true
extensions:
- hardLineBreak
</code></pre></td>
</tr>
</tbody>
-</table>-
\ No newline at end of file
+</table>