feat: support lists in parsing

Signed-off-by: Konstantin Fickel <mail@konstantinfickel.de>
This commit is contained in:
Konstantin Fickel 2025-06-22 11:36:58 +02:00
parent dc2a97d3b8
commit fa85017ce3
2 changed files with 111 additions and 36 deletions

View file

@ -213,3 +213,18 @@ class TestParseProcess:
),
],
)
def test_simple_list(self):
file_text = "* hello world\n * @Marker i've got a marker"
assert parse_markdown_file(self.file_name, file_text).shard == Shard(
markers=[],
tags=[],
start_line=1,
end_line=2,
children=[
Shard(
markers=["Marker"], tags=[], start_line=2, end_line=2, children=[]
)
],
)