{"action":"opened","issue":{"url":"https://api.github.com/repos/jonschlinkert/gray-matter/issues/11","labels_url":"https://api.github.com/repos/jonschlinkert/gray-matter/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/jonschlinkert/gray-matter/issues/11/comments","events_url":"https://api.github.com/repos/jonschlinkert/gray-matter/issues/11/events","html_url":"https://github.com/jonschlinkert/gray-matter/issues/11","id":64429169,"number":11,"title":"leading newline in body","user":{"login":"ianstormtaylor","id":311752,"avatar_url":"https://avatars.githubusercontent.com/u/311752?v=3","gravatar_id":"","url":"https://api.github.com/users/ianstormtaylor","html_url":"https://github.com/ianstormtaylor","followers_url":"https://api.github.com/users/ianstormtaylor/followers","following_url":"https://api.github.com/users/ianstormtaylor/following{/other_user}","gists_url":"https://api.github.com/users/ianstormtaylor/gists{/gist_id}","starred_url":"https://api.github.com/users/ianstormtaylor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ianstormtaylor/subscriptions","organizations_url":"https://api.github.com/users/ianstormtaylor/orgs","repos_url":"https://api.github.com/users/ianstormtaylor/repos","events_url":"https://api.github.com/users/ianstormtaylor/events{/privacy}","received_events_url":"https://api.github.com/users/ianstormtaylor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-26T03:09:51Z","updated_at":"2015-03-26T03:09:51Z","closed_at":null,"body":"Hey, looking to port [Metalsmith](https://metalsmith.io) to gray-matter! \r\n\r\nRan into a question: it was previously using [front-matter](https://github.com/jxson/front-matter) which stripped a trailing newline after the closing `---`, which seemed to mesh more with how a user \"perceives\" the frontmatter, if not with the way a computer reads it.\r\n\r\nSuch that...\r\n\r\n```\r\n---\r\nproperty: true\r\n---\r\nbody\r\n```\r\n\r\n...would end up being stripped so that it is exactly equal to...\r\n\r\n```\r\nbody\r\n```\r\n\r\nWhat do you think about supporting that, by swallowing a single newline if one (or more) are present after the closing `---`? Technically not \"pure\", but matches with users editing the frontmatter more I think?"}}