Enable task lists

This commit is contained in:
Vincent Prouillet 2020-06-11 18:29:05 +02:00
parent f41fab8676
commit 2e9b7ba522
2 changed files with 2 additions and 0 deletions

View File

@ -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)

View File

@ -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)