Implement escaping
This commit is contained in:
parent
0d910634c6
commit
c6b43b2c48
4 changed files with 18 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue