diff --git a/src/js/main.js b/src/js/main.js index fd45b9c..36d6c26 100644 --- a/src/js/main.js +++ b/src/js/main.js @@ -2,19 +2,6 @@ import "../css/default.css" // @ts-check -// document.addEventListener("DOMContentLoaded", () => { -// var mathElements = document.querySelectorAll(".math.inline, .math.display") -// mathElements.forEach(function (element) { -// var tex = element.textContent -// var displayMode = element.classList.contains("display") -// var renderedMath = katex.renderToString(tex, { -// displayMode: displayMode, -// throwOnError: false, -// }) -// element.innerHTML = renderedMath -// }) -// }) -// const prefersDark = window.matchMedia("(prefers-color-scheme: dark)").matches const themeSystem = () => { if (prefersDark) {