aboutsummaryrefslogtreecommitdiff
path: root/test/command/pandoc-citeproc-27.md
diff options
context:
space:
mode:
Diffstat (limited to 'test/command/pandoc-citeproc-27.md')
-rw-r--r--test/command/pandoc-citeproc-27.md39
1 files changed, 39 insertions, 0 deletions
diff --git a/test/command/pandoc-citeproc-27.md b/test/command/pandoc-citeproc-27.md
new file mode 100644
index 000000000..ce8c20eff
--- /dev/null
+++ b/test/command/pandoc-citeproc-27.md
@@ -0,0 +1,39 @@
+```
+% pandoc --citeproc -t markdown-citations
+---
+csl: command/science.csl
+references:
+- author:
+ - family: AuthorOne
+ given: Joe
+ - family: AuthorTwo
+ given: Jill
+ container-title: Some Journal
+ id: AuthorOne2014
+ issue: X
+ issued:
+ date-parts:
+ - - 2014
+ page: 'XXXX-YYYY'
+ title: Sample Title
+ type: 'article-journal'
+ volume: XX
+---
+
+Minimal example
+===============
+
+Here is some text that needs a citation [@AuthorOne2014].
+^D
+Minimal example
+===============
+
+Here is some text that needs a citation (*1*).
+
+::: {#refs .references .csl-bib-body}
+::: {#ref-AuthorOne2014 .csl-entry}
+[1. ]{.csl-left-margin}[J. AuthorOne, J. AuthorTwo, *Some Journal*, in
+press.]{.csl-right-inline}
+:::
+:::
+```