Head's Up: JavaScript is either turned off or not working properly in your browser. Some parts of this page may not work properly.
Write this up as a full example
tuple(( tag("```"), not_line_ending, line_ending, take_until("```"), tag("```"), )) .map( |(_, x, _, y, _): (&str, &str, &str, &str, &str)| Section::Code { lang: Some(x.trim().to_string()), text: y.trim().to_string(), }, ),