md-to-site

parse-metadata.ts

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"
}

Created by pfy.ch

Part of this project is a fork of Baseline Webpage