summaryrefslogtreecommitdiff
path: root/macros/generic/markdown/tests/testfiles/lunamark-markdown/html.test
diff options
context:
space:
mode:
Diffstat (limited to 'macros/generic/markdown/tests/testfiles/lunamark-markdown/html.test')
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark-markdown/html.test53
1 files changed, 53 insertions, 0 deletions
diff --git a/macros/generic/markdown/tests/testfiles/lunamark-markdown/html.test b/macros/generic/markdown/tests/testfiles/lunamark-markdown/html.test
new file mode 100644
index 0000000000..1975c5b221
--- /dev/null
+++ b/macros/generic/markdown/tests/testfiles/lunamark-markdown/html.test
@@ -0,0 +1,53 @@
+\def\markdownOptionHtml{true}
+<<<
+This test ensures that the Lua `html` option correctly propagates through
+the plain TeX interface.
+
+<div>
+*There is block tag support.*
+</div>
+*There is <inline tag="tag"></inline> support.*
+_There is <!-- comment --> support._
+_There is <? HTML instruction ?> support._
+
+Here are several ways to write a pipe:
+
+- |
+- &verbar;
+- &vert;
+- &VerticalLine;
+- &#x0007C;
+- &#124;
+
+Unrecognized character entities are ignored: &nonsense;
+>>>
+codeSpan: html
+interblockSeparator
+interblockSeparator
+emphasis: There is support.
+emphasis: There is support.
+emphasis: There is support.
+interblockSeparator
+interblockSeparator
+ulBeginTight
+ulItem
+pipe
+ulItemEnd
+ulItem
+pipe
+ulItemEnd
+ulItem
+pipe
+ulItemEnd
+ulItem
+pipe
+ulItemEnd
+ulItem
+pipe
+ulItemEnd
+ulItem
+pipe
+ulItemEnd
+ulEndTight
+interblockSeparator
+ampersand