docs: Bolden the blackfriday flags to make them stand out

And other minor HTML/CSS tweaks.
This commit is contained in:
Anthony Fok 2015-08-04 12:34:47 -06:00
parent 5505ac0d72
commit ab8e189a2a

View file

@ -166,7 +166,7 @@ But Hugo does expose some options---as listed in the table below, matched with t
<tbody>
<tr>
<td><code>angledQuotes</code></td>
<td><code><strong>angledQuotes</strong></code></td>
<td><code>false</code></td>
<td><code>HTML_SMARTYPANTS_ANGLED_QUOTES</code></td>
</tr>
@ -176,14 +176,14 @@ But Hugo does expose some options---as listed in the table below, matched with t
</tr>
<tr>
<td><code>fractions</code></td>
<td><code><strong>fractions</strong></code></td>
<td><code>true</code></td>
<td><code>HTML_SMARTYPANTS_FRACTIONS</code></td>
</tr>
<tr>
<td class="purpose-title">Purpose:</td>
<td class="purpose-description" colspan="2">Enable smart fractions
<small>(e.g.&nbsp;<code>5/12</code> renders to <sup>5</sup>&frasl;<sub>12</sub> (<code>&lt;sup&gt;5&lt;/sup&gt;&amp;frasl;&lt;sub&gt;12&lt;/sub&gt;</code>))
<small>(e.g.&nbsp;<code>5/12</code> renders to <sup>5</sup>&frasl;<sub>12</sub> (<code>&lt;sup&gt;5&lt;/sup&gt;&amp;frasl;&lt;sub&gt;12&lt;/sub&gt;</code>))<br>
<strong>Caveat:</strong> Even with <code>fractions = false</code>,
Blackfriday would still convert 1/2, 1/4 and 3/4 to ½&nbsp;(<code>&amp;frac12;</code>),
¼&nbsp;(<code>&amp;frac14;</code>) and ¾&nbsp;(<code>&amp;frac34;</code>) respectively,
@ -191,7 +191,7 @@ but only these three.</small></td>
</tr>
<tr>
<td><code>hrefTargetBlank</code></td>
<td><code><strong>hrefTargetBlank</strong></code></td>
<td><code>false</code></td>
<td><code>HTML_HREF_TARGET_BLANK</code></td>
</tr>
@ -201,7 +201,7 @@ but only these three.</small></td>
</tr>
<tr>
<td><code>latexDashes</code></td>
<td><code><strong>latexDashes</strong></code></td>
<td><code>true</code></td>
<td><code>HTML_SMARTYPANTS_LATEX_DASHES</code></td>
</tr>
@ -211,7 +211,7 @@ but only these three.</small></td>
</tr>
<tr>
<td><code>plainIdAnchors</code></td>
<td><code><strong>plainIdAnchors</strong></code></td>
<td><code>false</code></td>
<td><code>FootnoteAnchorPrefix</code> and <code>HeaderIDSuffix</code></td>
</tr>
@ -221,7 +221,7 @@ but only these three.</small></td>
</tr>
<tr>
<td><code>extensions</code></td>
<td><code><strong>extensions</strong></code></td>
<td><code>[]</code></td>
<td><code>EXTENSION_*</code></td>
</tr>
@ -231,7 +231,7 @@ but only these three.</small></td>
</tr>
<tr>
<td><code>extensionsmask</code></td>
<td><code><strong>extensionsmask</strong></code></td>
<td><code>[]</code></td>
<td><code>EXTENSION_*</code></td>
</tr>
@ -252,8 +252,8 @@ but only these three.</small></td>
</tr>
</thead>
<tbody>
<tr>
<td><pre><code>[blackfriday]
<tr style="vertical-align: top;">
<td style="width: 50%;"><pre><code>[blackfriday]
angledQuotes = true
fractions = false
plainIdAnchors = true