diff --git a/lib/transformer.js b/lib/transformer.js index 0f0b52a..011309b 100644 --- a/lib/transformer.js +++ b/lib/transformer.js @@ -25,9 +25,6 @@ export class Transformer { } static getFrontMatterData = (filecontent) => { - // if (Transformer.haveFrontMatter(filecontent)) { - // return matter(filecontent).data - // } return {} } @@ -39,8 +36,6 @@ export class Transformer { } ) - // permalink = permalink.replace("ç", "c").replace("ı", "i").replace("ş", "s") - // console.log(`/note/${toSlug(result)}`) if (result === undefined || result.length === 0) { // console.log("Cannot resolve file path " + pageName) } @@ -58,8 +53,7 @@ export class Transformer { static getHtmlContent = (content) => { let htmlContent = [] const sanitizedContent = Transformer.preprocessThreeDashes(content) - htmlContent = ["