This function reads the content in the
metadata section of your Markdown document and returns
Record<string, string>
---
title: Example
value: Foo Bar
author: John Appleseed
---
is parsed to be
{title: "Example"
value: "Foo Bar"
author: "John Appleseed"
}