From 61f714aa0784ca7af40398d633d419c19dd3cd46 Mon Sep 17 00:00:00 2001 From: Fedor Katurov Date: Thu, 6 May 2021 15:44:35 +0700 Subject: [PATCH] #4 renamed stringify --- src/service/template/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)