quartz/plugins/transformers/frontmatter.ts
@@ -67,7 +67,8 @@ [remarkFrontmatter, ["yaml", "toml"]], () => { return (_, file) => { const { data } = matter(Buffer.from(file.value), { const fileData = Buffer.from(file.value as Uint8Array) const { data } = matter(fileData, { ...opts, engines: { yaml: (s) => yaml.load(s, { schema: yaml.JSON_SCHEMA }) as object,