Implement escaping

This commit is contained in:
Juno Takano 2026-01-07 01:02:57 -03:00
commit c6b43b2c48
4 changed files with 18 additions and 2 deletions

View file

@ -21,6 +21,12 @@ pub fn parse(
tokens: &mut Vec<Token>,
iterator: &mut Peekable<Iter<'_, Lexeme>>,
) -> bool {
if let super::context::Block::PreFormat = state.context.block {
return false;
} else if let super::context::Inline::Code = state.context.inline {
return false;
}
if Underline::probe(lexeme) {
log!("Underline probed: {lexeme}");
tokens