summaryrefslogtreecommitdiff
path: root/macros/generic/markdown/tests/testfiles/lunamark/notes.test
diff options
context:
space:
mode:
Diffstat (limited to 'macros/generic/markdown/tests/testfiles/lunamark/notes.test')
-rw-r--r--macros/generic/markdown/tests/testfiles/lunamark/notes.test27
1 files changed, 27 insertions, 0 deletions
diff --git a/macros/generic/markdown/tests/testfiles/lunamark/notes.test b/macros/generic/markdown/tests/testfiles/lunamark/notes.test
new file mode 100644
index 0000000000..312090de8a
--- /dev/null
+++ b/macros/generic/markdown/tests/testfiles/lunamark/notes.test
@@ -0,0 +1,27 @@
+\def\markdownOptionFootnotes{true}
+<<<
+Here is a footnote reference,[^1] and another.[^longnote]
+This should *not* be a footnote reference, because it has not been
+defined.[^my note]
+
+[^longnote]: Here's the long note. This one contains multiple blocks.
+
+ Subsequent blocks are indented to show that they belong to the
+footnote (as with list items).
+
+ { <code> }
+
+ If you want, you can indent every line, but you can also be
+ lazy and just indent the first line of each block.
+
+This paragraph should not be part of the note, as it is not indented.
+
+ [^1]: Here is the footnote. It can go anywhere after the footnote
+ reference. It need not be placed at the end of the document.
+
+>>>
+footnote: Here is the footnote. It can go anywhere after the footnote reference. It need not be placed at the end of the document.
+footnote: Here's the long note. This one contains multiple blocks.(interblockSeparator)Subsequent blocks are indented to show that they belong to the footnote (as with list items).(interblockSeparator)(inputVerbatim: ./_markdown_test/7f88af46ac2c38c6ee0c6837fcb8cbc6.verbatim)(interblockSeparator)If you want, you can indent every line, but you can also be lazy and just indent the first line of each block.
+emphasis: not
+circumflex
+interblockSeparator