This commit is contained in:
Tom Alexander 2023-04-24 16:19:48 -04:00
parent 28759edb3b
commit b2b1e9272c
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE
2 changed files with 1 additions and 5 deletions

View File

@ -2,14 +2,10 @@ use nom::branch::alt;
use nom::bytes::complete::escaped; use nom::bytes::complete::escaped;
use nom::bytes::complete::tag; use nom::bytes::complete::tag;
use nom::bytes::complete::take_till1; use nom::bytes::complete::take_till1;
use nom::character::complete::one_of; use nom::character::complete::one_of;
use nom::combinator::verify; use nom::combinator::verify;
use nom::multi::many_till; use nom::multi::many_till;
use super::parser_with_context::parser_with_context; use super::parser_with_context::parser_with_context;
use super::util::get_consumed; use super::util::get_consumed;
use super::Context; use super::Context;

View File

@ -25,6 +25,7 @@ use crate::parser::parser_with_context::parser_with_context;
use crate::parser::util::exit_matcher_parser; use crate::parser::util::exit_matcher_parser;
use crate::parser::util::get_consumed; use crate::parser::util::get_consumed;
use crate::parser::util::get_one_before; use crate::parser::util::get_one_before;
use crate::parser::util::preceded_by_whitespace;
use crate::parser::Bold; use crate::parser::Bold;
use crate::parser::Code; use crate::parser::Code;
use crate::parser::Italic; use crate::parser::Italic;
@ -32,7 +33,6 @@ use crate::parser::Object;
use crate::parser::StrikeThrough; use crate::parser::StrikeThrough;
use crate::parser::Underline; use crate::parser::Underline;
use crate::parser::Verbatim; use crate::parser::Verbatim;
use crate::parser::util::preceded_by_whitespace;
#[tracing::instrument(ret, level = "debug")] #[tracing::instrument(ret, level = "debug")]
pub fn text_markup<'r, 's>(context: Context<'r, 's>, input: &'s str) -> Res<&'s str, Object<'s>> { pub fn text_markup<'r, 's>(context: Context<'r, 's>, input: &'s str) -> Res<&'s str, Object<'s>> {