aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-03-05 01:36:40 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2017-03-05 01:36:40 +0100
commitba3ee62323644134f2a5dd3277e3349d3681111a (patch)
tree44bf70a2c2dad74a62a3ec2a903d1b8482e958a2 /test
parent14b8aa8c93766f98a6e0bc9ff04f14962a888f4f (diff)
downloadpandoc-ba3ee62323644134f2a5dd3277e3349d3681111a.tar.gz
Parse YAML metadata in a context that sees footnotes...
defined in the body of the document. Closes #1279.
Diffstat (limited to 'test')
-rw-r--r--test/command/1279.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/command/1279.md b/test/command/1279.md
new file mode 100644
index 000000000..c8396f217
--- /dev/null
+++ b/test/command/1279.md
@@ -0,0 +1,19 @@
+```
+pandoc -s -t markdown
+---
+author: 'John Doe[^1]'
+date: 2014
+title: My Article
+---
+
+[^1]: Dept. of This and That
+^D
+---
+author: 'John Doe[^1]'
+date: 2014
+title: My Article
+---
+
+[^1]: Dept. of This and That
+```
+