Enable task lists
This commit is contained in:
parent
f41fab8676
commit
2e9b7ba522
|
@ -3,6 +3,7 @@
|
|||
## 0.12.0 (unreleased)
|
||||
|
||||
- Add 2 syntax highlighting themes: `green` and `railsbase16-green-screen-dark`
|
||||
- Enable task lists in Markdown
|
||||
|
||||
## 0.11.0 (2020-05-25)
|
||||
|
||||
|
|
|
@ -185,6 +185,7 @@ pub fn markdown_to_html(content: &str, context: &RenderContext) -> Result<Render
|
|||
opts.insert(Options::ENABLE_TABLES);
|
||||
opts.insert(Options::ENABLE_FOOTNOTES);
|
||||
opts.insert(Options::ENABLE_STRIKETHROUGH);
|
||||
opts.insert(Options::ENABLE_TASKLISTS);
|
||||
|
||||
{
|
||||
let mut events = Parser::new_ext(content, opts)
|
||||
|
|
Loading…
Reference in a new issue