render: capture and merge knitr options from yaml metadata.