diff options
Diffstat (limited to 'macros/generic/markdown/tests/testfiles/lunamark-markdown/inline-footnotes.test')
-rw-r--r-- | macros/generic/markdown/tests/testfiles/lunamark-markdown/inline-footnotes.test | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/macros/generic/markdown/tests/testfiles/lunamark-markdown/inline-footnotes.test b/macros/generic/markdown/tests/testfiles/lunamark-markdown/inline-footnotes.test new file mode 100644 index 0000000000..28ecb568b3 --- /dev/null +++ b/macros/generic/markdown/tests/testfiles/lunamark-markdown/inline-footnotes.test @@ -0,0 +1,17 @@ +\def\markdownOptionInlineFootnotes{true} +<<< +This test ensures that the Lua `footnotes` and `inlineFootnotes` options +correctly propagate through the plain TeX interface. + +^[Here is the footnote. It can go anywhere after the footnote +reference. It need *not* be placed at the end of the document.] + +\^[This should *not* be a footnote, because it has been escaped.] +>>> +codeSpan: footnotes +codeSpan: inlineFootnotes +interblockSeparator +footnote: Here is the footnote. It can go anywhere after the footnote reference. It need (emphasis: not) be placed at the end of the document. +interblockSeparator +circumflex +emphasis: not |