aboutsummaryrefslogtreecommitdiff
path: root/test/command/pandoc-citeproc-408.md
diff options
context:
space:
mode:
Diffstat (limited to 'test/command/pandoc-citeproc-408.md')
-rw-r--r--test/command/pandoc-citeproc-408.md39
1 files changed, 39 insertions, 0 deletions
diff --git a/test/command/pandoc-citeproc-408.md b/test/command/pandoc-citeproc-408.md
new file mode 100644
index 000000000..8e3571aeb
--- /dev/null
+++ b/test/command/pandoc-citeproc-408.md
@@ -0,0 +1,39 @@
+```
+% pandoc --citeproc -t markdown-citations
+---
+references:
+- id: smith1
+ type: article-journal
+ author:
+ - family: Smith
+ given: Mary
+ issued:
+ - year: 2019
+ title: Foo
+
+- id: smithsmith
+ type: article-journal
+ author:
+ - family: Smith
+ given: Mary
+ - family: Smith
+ given: John
+ issued:
+ - year: 2019
+ title: Foo bar
+...
+
+[@smithsmith; @smith1]
+^D
+(Smith and Smith 2019; Smith 2019)
+
+::: {#refs .references .csl-bib-body .hanging-indent}
+::: {#ref-smith1 .csl-entry}
+Smith, Mary. 2019. "Foo."
+:::
+
+::: {#ref-smithsmith .csl-entry}
+Smith, Mary, and John Smith. 2019. "Foo Bar."
+:::
+:::
+```