jgm / pandoc

Universal markup converter
https://pandoc.org
Other
34.71k stars 3.39k forks source link

New CLI option to pass YAML metadata #1412

Closed nichtich closed 10 years ago

nichtich commented 10 years ago

A miss a (repeatable) option to pass a YAML file with metadata, e.g. --yaml-metadata=FILE. This would be handy to separate document body and additional fields such as author, date, abstract, keywords etc. Right now one can only set single metadata values with --metadata KEY[=VAL],

nichtich commented 10 years ago

I found out that YAML files can be used as simple input files, so there is no need for an option:

catmandu metadata.yml document.md

This could be mentioned in the documentation.