aboutsummaryrefslogtreecommitdiff
path: root/tests/markdown-citations.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/markdown-citations.txt')
-rw-r--r--tests/markdown-citations.txt32
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/markdown-citations.txt b/tests/markdown-citations.txt
new file mode 100644
index 000000000..c54a41304
--- /dev/null
+++ b/tests/markdown-citations.txt
@@ -0,0 +1,32 @@
+# Pandoc with citeproc-hs
+
+[@nonexistent]
+
+@nonexistent
+
+@item1 says blah.
+@item1 [p. 30] says blah.
+@item1 [p. 30, with suffix] says blah.
+@item1 [-@item2 p. 30; see also @item3] says blah.
+
+In a note.[^1] A citation group [see
+@item1 p. 34-35; also @item3 chap. 3]. Another one [see
+@item1 p. 34-35]. And another one in a note.[^2]
+Citation with a suffix and locator [@item1 pp. 33, 35-37,
+and nowhere else]. Citation with suffix only
+[@item1, and nowhere else].
+
+Now some modifiers.[^3]
+
+[^1]:
+ A citation without locators [@item3].
+
+[^2]:
+ Some citations [see @item2 chap. 3; @item3; @item1].
+
+[^3]:
+ Like a citation without author: [-@item1], and now Doe with a
+ locator [-@item2 p. 44].
+
+# References
+