Enable strikethrough in markdown filter
This commit is contained in:
parent
073e24659d
commit
2eaa791349
|
@ -18,6 +18,7 @@ pub fn markdown<S: BuildHasher>(
|
|||
let mut opts = cmark::Options::empty();
|
||||
opts.insert(cmark::Options::ENABLE_TABLES);
|
||||
opts.insert(cmark::Options::ENABLE_FOOTNOTES);
|
||||
opts.insert(cmark::Options::ENABLE_STRIKETHROUGH);
|
||||
|
||||
let mut html = String::new();
|
||||
let parser = cmark::Parser::new_ext(&s, opts);
|
||||
|
|
Loading…
Reference in a new issue