diff --git a/src/markdown.ts b/src/markdown.ts index 49b10f288..59dc5ee8d 100644 --- a/src/markdown.ts +++ b/src/markdown.ts @@ -422,7 +422,8 @@ function toParseCells(pieces: RenderPiece[]): CellPiece[] { } export async function parseMarkdown(source: string, root: string, sourcePath: string): Promise { - const parts = matter(source); + const parts = matter(source, {}); + // TODO: We need to know what line in the source the markdown starts on and pass that // as startLine in the parse context below. const md = MarkdownIt({html: true});