Browse Source

Add Markdown strikethrough rendering (#924)

Fixes #921
index-subcmd
Sepehr Torab Parhiz Vincent Prouillet 4 years ago
parent
commit
2fa442cead
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      components/rendering/src/markdown.rs

+ 1
- 0
components/rendering/src/markdown.rs View File

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

{
let mut events = Parser::new_ext(content, opts)


Loading…
Cancel
Save