@@ -46,3 +46,18 @@ array:
4646Pandoc (Meta {unMeta = fromList [("array",MetaList [MetaMap (fromList [("foo",MetaInlines [Str "bar"])]),MetaMap (fromList [("bool",MetaBool True)])])]})
4747[]
4848```
49+```
50+% pandoc -s -t native --metadata-file command/yaml-metadata.yaml
51+---
52+title: document
53+---
54+^D
55+Pandoc (Meta {unMeta = fromList [("other",MetaInlines [Emph [Str "markdown"],Space,Str "value"]),("title",MetaInlines [Str "document"])]})
56+[]
57+```
58+```
59+% pandoc -s -t native --metadata-file command/yaml-metadata.yaml -M title=cmdline
60+^D
61+Pandoc (Meta {unMeta = fromList [("other",MetaInlines [Emph [Str "markdown"],Space,Str "value"]),("title",MetaString "cmdline")]})
62+[]
63+```