format, remove markdown from being procesed

This commit is contained in:
Jacky Zhao 2023-08-05 18:00:52 -07:00
parent cf18b99937
commit d38837c15d
2 changed files with 4 additions and 3 deletions

View File

@ -1,3 +1,4 @@
public public
node_modules node_modules
.quartz-cache .quartz-cache
**/*.md

View File

@ -4,14 +4,14 @@ sourceMapSupport.install({
// source map hack to get around query param // source map hack to get around query param
// import cache busting // import cache busting
if (source.includes(".quartz-cache")) { if (source.includes(".quartz-cache")) {
let realSource = fileURLToPath(source.split("?", 2)[0] + '.map') let realSource = fileURLToPath(source.split("?", 2)[0] + ".map")
return { return {
map: fs.readFileSync(realSource, 'utf8') map: fs.readFileSync(realSource, "utf8"),
} }
} else { } else {
return null return null
} }
} },
}) })
import path from "path" import path from "path"