Skip to content

Commit

Permalink
Add regression tests for #508
Browse files Browse the repository at this point in the history
  • Loading branch information
Witiko committed Oct 4, 2024
1 parent 63eaf32 commit c2957ea
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 0 deletions.
23 changes: 23 additions & 0 deletions tests/testfiles/regression/github/issue-508-fancy-lists.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
if: format == 'context-mkiv' or template == 'input'
---
\markdownSetup{fancyLists=true}
<<<
a. foo
b. bar
bar
c. baz
>>>
BEGIN document
BEGIN fancyOlBeginTight
- numstyle: LowerAlpha
- numdelim: Period
END fancyOlBeginTight
fancyOlItemWithNumber: 1
fancyOlItemEnd
fancyOlItemWithNumber: 2
softLineBreak
fancyOlItemEnd
fancyOlItemWithNumber: 3
fancyOlItemEnd
fancyOlEndTight
END document
34 changes: 34 additions & 0 deletions tests/testfiles/regression/github/issue-508-non-fancy-lists.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
if: format == 'context-mkiv' or template == 'input'
---
<<<
- foo
- bar
bar
- baz

1. foo
2. bar
bar
3. baz
>>>
BEGIN document
ulBeginTight
ulItem
ulItemEnd
ulItem
softLineBreak
ulItemEnd
ulItem
ulItemEnd
ulEndTight
interblockSeparator
olBeginTight
olItemWithNumber: 1
olItemEnd
olItemWithNumber: 2
softLineBreak
olItemEnd
olItemWithNumber: 3
olItemEnd
olEndTight
END document

0 comments on commit c2957ea

Please sign in to comment.