get the config and toc object from the markdown string.
github.com/snowyu/front-matter-markdown.js
snowyu/front-matter-markdown.js