1
0
mirror of https://github.com/gohugoio/hugo.git synced 2024-05-11 05:54:58 +00:00

Add TODO list support for Blackfriday

* Add CSS class to TODO list and list items
* Add a flag to turn task list support off

Fixes #2269
This commit is contained in:
Bjørn Erik Pedersen
2016-09-09 13:08:20 +02:00
committed by GitHub
parent 76bf2dcdd2
commit eaf2f9bce5
6 changed files with 145 additions and 3 deletions

View File

@@ -1,14 +1,14 @@
---
aliases:
- /doc/configuration/
lastmod: 2015-12-08
lastmod: 2016-07-22
date: 2013-07-01
linktitle: Configuration
menu:
main:
parent: getting started
next: /overview/source-directory
notoc: true
toc: true
prev: /overview/usage
title: Configuring Hugo
weight: 40
@@ -195,6 +195,18 @@ But Hugo does expose some options---as listed in the table below, matched with t
</thead>
<tbody>
<tr>
<td><code><strong>taskLists</strong></code></td>
<td><code>true</code></td>
<td><code></code></td>
</tr>
<tr>
<td class="purpose-title">Purpose:</td>
<td class="purpose-description" colspan="2">Turn off GitHub styled automatic task/TODO list generation.
</td>
</tr>
<tr>
<td><code><strong>smartypants</strong></code></td>
<td><code>true</code></td>