1
0
mirror of https://github.com/osmarks/website synced 2025-09-02 02:37:55 +00:00

arbitrary changes

This commit is contained in:
2021-07-10 13:09:00 +01:00
parent a7129b17d1
commit 3e1af5aba9
5 changed files with 157 additions and 131 deletions

View File

@@ -66,7 +66,7 @@ const hashColor = (x, s, l) => {
const removeExtension = x => x.replace(/\.[^/.]+$/, "")
const readFile = path => fsp.readFile(path, { encoding: "utf8" })
const md = new MarkdownIt()
const md = new MarkdownIt().use(require("markdown-it-footnote"))
const minifyHTML = x => htmlMinifier(x, {
collapseWhitespace: true,
sortAttributes: true,