Read yaml using js-yaml from markdown.