feat: support lists in parsing
Signed-off-by: Konstantin Fickel <mail@konstantinfickel.de>
This commit is contained in:
parent
dc2a97d3b8
commit
fa85017ce3
2 changed files with 111 additions and 36 deletions
|
|
@ -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=[]
|
||||
)
|
||||
],
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue