From 0af046b5ea4a07aa27398668ba838a861053788f Mon Sep 17 00:00:00 2001 From: Triston Armstrong Date: Mon, 25 Dec 2023 22:38:56 -0600 Subject: [PATCH] comment out matter stuff --- lib/transformer.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/transformer.js b/lib/transformer.js index 8ba13d4..f6a1614 100644 --- a/lib/transformer.js +++ b/lib/transformer.js @@ -1,4 +1,4 @@ -import matter from 'gray-matter' +//import matter from 'gray-matter' import { unified } from "unified"; import markdown from "remark-parse"; import { wikiLinkPlugin } from "remark-wiki-link"; @@ -30,9 +30,9 @@ export class Transformer { } static getFrontMatterData = (filecontent) => { - if (Transformer.haveFrontMatter(filecontent)) { - return matter(filecontent).data - } + //if (Transformer.haveFrontMatter(filecontent)) { + // return matter(filecontent).data + //} return {} }