comment out matter stuff
This commit is contained in:
parent
52969bebfa
commit
0af046b5ea
@ -1,4 +1,4 @@
|
|||||||
import matter from 'gray-matter'
|
//import matter from 'gray-matter'
|
||||||
import { unified } from "unified";
|
import { unified } from "unified";
|
||||||
import markdown from "remark-parse";
|
import markdown from "remark-parse";
|
||||||
import { wikiLinkPlugin } from "remark-wiki-link";
|
import { wikiLinkPlugin } from "remark-wiki-link";
|
||||||
@ -30,9 +30,9 @@ export class Transformer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static getFrontMatterData = (filecontent) => {
|
static getFrontMatterData = (filecontent) => {
|
||||||
if (Transformer.haveFrontMatter(filecontent)) {
|
//if (Transformer.haveFrontMatter(filecontent)) {
|
||||||
return matter(filecontent).data
|
// return matter(filecontent).data
|
||||||
}
|
//}
|
||||||
return {}
|
return {}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user