mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-30 02:13:18 -05:00
docs: Bolden the blackfriday flags to make them stand out
And other minor HTML/CSS tweaks.
This commit is contained in:
parent
5505ac0d72
commit
ab8e189a2a
1 changed files with 10 additions and 10 deletions
|
@ -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. <code>5/12</code> renders to <sup>5</sup>⁄<sub>12</sub> (<code><sup>5</sup>&frasl;<sub>12</sub></code>))
|
||||
<small>(e.g. <code>5/12</code> renders to <sup>5</sup>⁄<sub>12</sub> (<code><sup>5</sup>&frasl;<sub>12</sub></code>))<br>
|
||||
<strong>Caveat:</strong> Even with <code>fractions = false</code>,
|
||||
Blackfriday would still convert 1/2, 1/4 and 3/4 to ½ (<code>&frac12;</code>),
|
||||
¼ (<code>&frac14;</code>) and ¾ (<code>&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
|
||||
|
|
Loading…
Reference in a new issue