diff --git a/content/overview/configuration.md b/content/overview/configuration.md index 4e4b750c1..a07ef5672 100644 --- a/content/overview/configuration.md +++ b/content/overview/configuration.md @@ -91,6 +91,21 @@ But Hugo does expose some options---as listed in the table below, matched with t Enable smart angled double quotes (e.g. "Hugo" renders to «Hugo» instead of “Hugo”) + +fractions +true +HTML_SMARTYPANTS_FRACTIONS + + +Purpose: +Enable smart fractions +(e.g. 5/12 renders to 512 (<sup>5</sup>&frasl;<sub>12</sub>)) +Caveat: Even with fractions = false, +Blackfriday would still convert 1/2, 1/4 and 3/4 to ½ (&frac12;), +¼ (&frac14;) and ¾ (&frac34;) respectively, +but only these three. + + plainIdAnchors false @@ -112,11 +127,13 @@ But Hugo does expose some options---as listed in the table below, matched with t
[blackfriday]
-    angledQuotes = true
-    plainIdAnchors = true
+  angledQuotes = true
+  fractions = false
+  plainIdAnchors = true
 
blackfriday:
   angledQuotes: true
+  fractions: false
   plainIdAnchors: true