Markdown reader: Better error messages for yaml headers.