comment out unneeded code from lib files
This commit is contained in:
parent
67f7658907
commit
ba483eb27d
@ -3,7 +3,7 @@ import { unified } from "unified";
|
||||
import markdown from "remark-parse";
|
||||
import { wikiLinkPlugin } from "remark-wiki-link";
|
||||
import html from "remark-html";
|
||||
import frontmatter from "remark-frontmatter";
|
||||
//import frontmatter from "remark-frontmatter";
|
||||
import externalLinks from "remark-external-links";
|
||||
import highlight from "remark-highlight.js";
|
||||
import { Node } from "./node";
|
||||
|
@ -41,7 +41,7 @@ export function getSinglePost(slug) {
|
||||
|
||||
var fileContent = Node.readFileSync(currentFilePath)
|
||||
|
||||
const currentFileFrontMatter = Transformer.getFrontMatterData(fileContent)
|
||||
//const currentFileFrontMatter = Transformer.getFrontMatterData(fileContent)
|
||||
// console.log("===============\n\nFile is scanning: ", slug)
|
||||
const [htmlContent] = Transformer.getHtmlContent(fileContent)
|
||||
// console.log("==================================")
|
||||
|
Loading…
Reference in New Issue
Block a user