Verified Commit dd752255 authored by Aral Balkan's avatar Aral Balkan
Browse files

Remove console log statements

parent e3e59ead
...@@ -39,8 +39,6 @@ while (codeMatch !== null) { ...@@ -39,8 +39,6 @@ while (codeMatch !== null) {
const nestedLanguage = nestedCodeMatch[1] const nestedLanguage = nestedCodeMatch[1]
let nestedCode = nestedCodeMatch[2] let nestedCode = nestedCodeMatch[2]
console.log(nestedLanguage, nestedCode, fullNestedMatch)
const highlightedCode = highlightJs.highlight(nestedLanguage, unescapeHtml(nestedCode)).value const highlightedCode = highlightJs.highlight(nestedLanguage, unescapeHtml(nestedCode)).value
index = index.replace(fullNestedMatch, unescapeReplacementString(highlightedCode)) index = index.replace(fullNestedMatch, unescapeReplacementString(highlightedCode))
...@@ -57,6 +55,4 @@ while (codeMatch !== null) { ...@@ -57,6 +55,4 @@ while (codeMatch !== null) {
codeMatch = codeRegExp.exec(index) codeMatch = codeRegExp.exec(index)
} }
// console.log(index)
fs.writeFileSync('tmp/index.html', index) fs.writeFileSync('tmp/index.html', index)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment