added test course to fix corner cases like nested numbered lists

This commit is contained in:
Hartmut Seichter 2023-11-09 20:14:56 +01:00
parent 37d8c8e30f
commit 10408e5fa3
3 changed files with 45 additions and 1 deletions

33
test/simple/mod.test.yaml Normal file
View file

@ -0,0 +1,33 @@
name:
en: Test Course
#
# nested lists seem to work in Markdown only in the US style way
#
# reference here: https://meta.stackexchange.com/questions/85474/how-to-write-nested-numbered-lists
#
# note the parser actually corrects 'Tervuren' to 3 in resulting data
#
content:
en: |
1. Dog
1. German Shepherd
2. Belgian Shepherd
1. Malinois
2. Groenendael
4. Tervuren
2. Cat
1. Siberian
2. Siamese