diff --git a/src/service/template/index.ts b/src/service/template/index.ts index a847fcd..f7cf700 100644 --- a/src/service/template/index.ts +++ b/src/service/template/index.ts @@ -1,6 +1,6 @@ import extract from "remark-extract-frontmatter"; import frontmatter from "remark-frontmatter"; -import compiler from "retext-stringify"; +import stringify from "retext-stringify"; import parser from "remark-parse"; import unified from "unified"; import { parse } from "yaml"; @@ -26,7 +26,7 @@ export class Template< } const processor = unified() - .use(compiler) + .use(stringify) .use(frontmatter) .use(extract, { yaml: parse }) .use(removeFrontmatter)