fef5770591
It should replace a metadata value set in the document itself, rather than creating a list including a new value. Closes #4054.
14 lines
258 B
Markdown
14 lines
258 B
Markdown
```
|
|
% pandoc -t native -s -M title=New
|
|
% Old
|
|
^D
|
|
Pandoc (Meta {unMeta = fromList [("title",MetaString "New")]})
|
|
[]
|
|
```
|
|
|
|
```
|
|
% pandoc -t native -s -M foo=1 -M foo=2
|
|
^D
|
|
Pandoc (Meta {unMeta = fromList [("foo",MetaList [MetaString "1",MetaString "2"])]})
|
|
[]
|
|
```
|