mirror of
https://github.com/gohugoio/hugo.git
synced 2025-01-03 23:40:50 +00:00
1.1 KiB
1.1 KiB
aliases | lastmod | date | menu | prev | next | title | weight | toc | |||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
2016-07-22 | 2016-07-22 |
|
/content/summaries | /content/multilingual | Markdown Extras | 66 | false |
Hugo provides some convenient markdown extensions.
Task lists
Hugo supports GitHub styled task lists (TODO lists) for the Blackfriday renderer (md-files). See Blackfriday config for how to turn it off.
Example:
- [ ] a task list item
- [ ] list syntax required
- [ ] incomplete
- [x] completed
Renders as:
- a task list item
- list syntax required
- incomplete
- completed
And produces this HTML:
<ul class="task-list">
<li><input type="checkbox" disabled="" class="task-list-item"> a task list item</li>
<li><input type="checkbox" disabled="" class="task-list-item"> list syntax required</li>
<li><input type="checkbox" disabled="" class="task-list-item"> incomplete</li>
<li><input type="checkbox" checked="" disabled="" class="task-list-item"> completed</li>
</ul>