MarkdownContext

constructor(path: String, frontMatter: Map<String, List<String>>)(source)

Parameters

path

The path of the markdown file, including its extension, relative to the markdown root it was found in, e.g. a/b/c/Hello.md.

frontMatter

Exposes data set in a markdown file's front matter block. (Front matter is the YAML block optionally declared at the top of a markdown file, which is delimited by --- lines.)