{"action":"created","issue":{"url":"https://api.github.com/repos/jgm/pandoc/issues/2069","labels_url":"https://api.github.com/repos/jgm/pandoc/issues/2069/labels{/name}","comments_url":"https://api.github.com/repos/jgm/pandoc/issues/2069/comments","events_url":"https://api.github.com/repos/jgm/pandoc/issues/2069/events","html_url":"https://github.com/jgm/pandoc/issues/2069","id":67801160,"number":2069,"title":"[Feature request] submit pandoc commandline options by metadata and/or separate yaml file","user":{"login":"bwl21","id":2022976,"avatar_url":"https://avatars.githubusercontent.com/u/2022976?v=3","gravatar_id":"","url":"https://api.github.com/users/bwl21","html_url":"https://github.com/bwl21","followers_url":"https://api.github.com/users/bwl21/followers","following_url":"https://api.github.com/users/bwl21/following{/other_user}","gists_url":"https://api.github.com/users/bwl21/gists{/gist_id}","starred_url":"https://api.github.com/users/bwl21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwl21/subscriptions","organizations_url":"https://api.github.com/users/bwl21/orgs","repos_url":"https://api.github.com/users/bwl21/repos","events_url":"https://api.github.com/users/bwl21/events{/privacy}","received_events_url":"https://api.github.com/users/bwl21/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-11T15:54:00Z","updated_at":"2015-04-12T06:02:50Z","closed_at":null,"body":"I open this ticket according to the following post in the google group https://groups.google.com/forum/#!searchin/pandoc-discuss/definition$20list/pandoc-discuss/ZKytjti_h2Q/pcagNlG9SdsJ\r\n\r\nSumming up:\r\n\r\n1. pandoc should allow to choose at least reader extensions in the document metadata\r\n2. pandoc should allow to provide options in an extra metadata file provided by e.g. <br/>\r\n     ```--metadatafile <file>```\r\n3. pandoc should allow to customize options even in a default metadata file\r\n\r\nIn particular the change of definition list is a drastic one. The only way to deal with legacy documents is to enable compact_definition_list at any time. In a given environment there is not even a compatibility mode allowing to support both syntaxes on input and use pandoc as an implicit converter. One must chose the definition list format explicitly. The requested feature would make it easier to maintain legacy documents. For example I have documents which are adapted every other year and got the surprise ...\r\n\r\nThe metadata could be for example\r\n\r\n```markdown\r\n---\r\nmdreader:\r\n -   +fenced_code_blocks\r\n -   +compact_definition_lists\r\nmdwriter:\r\n -   -backtick_code_blocks\r\n -   +fenced_code_blocks\r\n -   +compact_definition_lists\r\npandocoptions:\r\n -   --atx-headers\r\n...\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/jgm/pandoc/issues/comments/91996220","html_url":"https://github.com/jgm/pandoc/issues/2069#issuecomment-91996220","issue_url":"https://api.github.com/repos/jgm/pandoc/issues/2069","id":91996220,"user":{"login":"bwl21","id":2022976,"avatar_url":"https://avatars.githubusercontent.com/u/2022976?v=3","gravatar_id":"","url":"https://api.github.com/users/bwl21","html_url":"https://github.com/bwl21","followers_url":"https://api.github.com/users/bwl21/followers","following_url":"https://api.github.com/users/bwl21/following{/other_user}","gists_url":"https://api.github.com/users/bwl21/gists{/gist_id}","starred_url":"https://api.github.com/users/bwl21/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwl21/subscriptions","organizations_url":"https://api.github.com/users/bwl21/orgs","repos_url":"https://api.github.com/users/bwl21/repos","events_url":"https://api.github.com/users/bwl21/events{/privacy}","received_events_url":"https://api.github.com/users/bwl21/received_events","type":"User","site_admin":false},"created_at":"2015-04-12T06:02:50Z","updated_at":"2015-04-12T06:02:50Z","body":"isn't `yaml_metadata_block`enabled by default such that pandoc already parses the yaml metadata block by default? then it should be able to select the extensions accordingly.\r\n\r\n"}}