diff --git a/src/parser/text_element_parser.rs b/src/parser/text_element_parser.rs index abb6eea..2264b48 100644 --- a/src/parser/text_element_parser.rs +++ b/src/parser/text_element_parser.rs @@ -31,20 +31,14 @@ where { not(&mut context.fail_matcher)(i)?; if context.can_match_bold { - // todo + // if let Ok(v) = parser_with_context!(flat_bold)(context.clone())(i) { + // return Ok(v); + // } } if context.can_match_link { // todo } alt(( - // map( - // BoldParser::new(slf.context.fail_matcher.clone()), - // TextElement::Bold, - // ), - // map( - // LinkParser::new(slf.context.fail_matcher.clone()), - // TextElement::Link, - // ), map(span, TextElement::Span), map(symbol("*"), TextElement::Symbol), map(symbol("["), TextElement::Symbol),