diff options
Diffstat (limited to 'macros/generic/markdown/tests/testfiles/lunamark-markdown/no-underscores.test')
-rw-r--r-- | macros/generic/markdown/tests/testfiles/lunamark-markdown/no-underscores.test | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-underscores.test b/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-underscores.test new file mode 100644 index 0000000000..6e24e3c6d0 --- /dev/null +++ b/macros/generic/markdown/tests/testfiles/lunamark-markdown/no-underscores.test @@ -0,0 +1,15 @@ +\def\markdownOptionUnderscores{false} +\def\markdownOptionHybrid{true} +<<< +This test ensures that the Lua `underscores` option correctly propagates +through the plain TeX interface. + +This is a math expression: $\sqrt{\sum_{i=0}^n (a_i + b_i)^2}$. +\begingroup\catcode`\_=12 +This __is no__ strongly emphasized span of text. +This **is** a strongly emphasized span of text. +\endgroup +>>> +codeSpan: underscores +interblockSeparator +strongEmphasis: is |