marcus 0.1.2

An experimental Markdown parser written in Rust
Documentation
1
2
3
4
5
6
7
8
9
use crate::helpers::re;
use regex::Captures;

// Parse: Strikethroughs
pub fn default(html: &mut String) {
  re::parse(html, re::from(re::STRIKETHROUGH), | capture: Captures |
    format!("<del>{}</del>", &capture[1].trim())
  );
}