summaryrefslogtreecommitdiff
path: root/macros/generic/markdown/tests/testfiles/lunamark-markdown/hybrid.test
diff options
context:
space:
mode:
Diffstat (limited to 'macros/generic/markdown/tests/testfiles/lunamark-markdown/hybrid.test')
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark-markdown/hybrid.test43
1 files changed, 43 insertions, 0 deletions
diff --git a/macros/generic/markdown/tests/testfiles/lunamark-markdown/hybrid.test b/macros/generic/markdown/tests/testfiles/lunamark-markdown/hybrid.test
new file mode 100644
index 0000000000..a82ba1aa1b
--- /dev/null
+++ b/macros/generic/markdown/tests/testfiles/lunamark-markdown/hybrid.test
@@ -0,0 +1,43 @@
+\def\markdownOptionHybrid{true}
+<<<
+This test ensures that the Lua `hybrid` option correctly propagates through
+the plain TeX interface. The following special characters should not be
+processed by lunamark in any way.
+
+ * \char`{
+ * \char`}
+ * \char`$
+ * \char`\%
+ * \char`&
+ * \char`_
+ * \char`#
+ * \char`^
+ * \char`\
+ * \char`~
+ * \char`|
+>>>
+codeSpan: hybrid
+interblockSeparator
+ulBeginTight
+ulItem
+ulItemEnd
+ulItem
+ulItemEnd
+ulItem
+ulItemEnd
+ulItem
+ulItemEnd
+ulItem
+ulItemEnd
+ulItem
+ulItemEnd
+ulItem
+ulItemEnd
+ulItem
+ulItemEnd
+ulItem
+ulItem
+ulItemEnd
+ulItem
+ulItemEnd
+ulEndTight