shithub: hugo

Download patch

ref: b557f6249f4d298b7cb9146a8e375f6b4304bfe3
parent: 249cd625412cb68c7ee4dc6a2802210e41e6a836
author: Anthony Fok <foka@debian.org>
date: Sun Nov 29 19:19:04 EST 2015

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

--- a/docs/content/overview/configuration.md
+++ b/docs/content/overview/configuration.md
@@ -244,7 +244,7 @@
 </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,8 +281,11 @@
 </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>
 <tr>
@@ -294,16 +297,16 @@
 <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>
--