A first stab at lesser blocks.

This commit is contained in:
Tom Alexander
2023-04-21 16:57:49 -04:00
parent 0293ca6b12
commit 47844caa5c
2 changed files with 97 additions and 2 deletions

View File

@@ -37,7 +37,6 @@ pub fn greater_block<'r, 's>(
// TODO: Do I need to differentiate between different greater block types.
start_of_line(context, input)?;
let (remaining, _leading_whitespace) = space0(input)?;
// TODO: Not handling indentation before start of block
let (remaining, (_begin, name)) = tuple((
tag_no_case("#+begin_"),
verify(name, |name: &str| match name.to_lowercase().as_str() {