document.getElementById("theme-toggle").addEventListener("click", () = { if (document.body.className.includes("dark")) { window.REMARK42.changeTheme('light'); } else { window.REMARK42.changeTheme('dark'); } }) var theme = "light"; if (localStorage.getItem("pref-theme") === "dark") { theme = "dark"; } var remark_config = { host: "https://comments.abowman.com", site_id: "aBowman", }; (function(c) { for(var i = 0; i