summaryrefslogtreecommitdiff
path: root/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-tight-lists.test
diff options
context:
space:
mode:
Diffstat (limited to 'macros/generic/markdown/tests/testfiles/lunamark-markdown/no-tight-lists.test')
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark-markdown/no-tight-lists.test19
1 files changed, 19 insertions, 0 deletions
diff --git a/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-tight-lists.test b/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-tight-lists.test
new file mode 100644
index 0000000000..446eb681fc
--- /dev/null
+++ b/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-tight-lists.test
@@ -0,0 +1,19 @@
+\def\markdownOptionTightLists{false}
+<<<
+This test ensures that the Lua `tightLists` option correctly propagates
+through the plain TeX interface. The following list should be regular.
+
+3. three
+4. four
+5. five
+>>>
+codeSpan: tightLists
+interblockSeparator
+olBegin
+olItemWithNumber: 3
+olItemEnd
+olItemWithNumber: 4
+olItemEnd
+olItemWithNumber: 5
+olItemEnd
+olEnd