Add Markdown strikethrough rendering (#924)

Fixes #921
This commit is contained in:
Sepehr Torab Parhiz 2020-01-17 13:00:51 -05:00 committed by Vincent Prouillet
parent 145671ed20
commit 2fa442cead

View file

@ -184,6 +184,7 @@ pub fn markdown_to_html(content: &str, context: &RenderContext) -> Result<Render
let mut has_summary = false; let mut has_summary = false;
opts.insert(Options::ENABLE_TABLES); opts.insert(Options::ENABLE_TABLES);
opts.insert(Options::ENABLE_FOOTNOTES); opts.insert(Options::ENABLE_FOOTNOTES);
opts.insert(Options::ENABLE_STRIKETHROUGH);
{ {
let mut events = Parser::new_ext(content, opts) let mut events = Parser::new_ext(content, opts)