1
0
mirror of https://github.com/osmarks/website synced 2025-09-02 10:48:03 +00:00

Minoteaur

This commit is contained in:
2023-06-06 16:58:28 +01:00
parent e573d24df9
commit e772af915f
12 changed files with 144 additions and 1 deletions

View File

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