summaryrefslogtreecommitdiff
path: root/test/command/multiple-metadata-blocks.md
diff options
context:
space:
mode:
Diffstat (limited to 'test/command/multiple-metadata-blocks.md')
-rw-r--r--test/command/multiple-metadata-blocks.md15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/command/multiple-metadata-blocks.md b/test/command/multiple-metadata-blocks.md
new file mode 100644
index 000000000..27c5e3dae
--- /dev/null
+++ b/test/command/multiple-metadata-blocks.md
@@ -0,0 +1,15 @@
+If multiple blocks define a field, the first is used.
+
+```
+% pandoc -s -t native
+---
+foo: bar
+...
+
+---
+foo: bim
+...
+^D
+Pandoc (Meta {unMeta = fromList [("foo",MetaInlines [Str "bar"])]})
+[]
+```