document.addEventListener("DOMContentLoaded", function () {
	if (typeof renderMathInElement === "function") {
		renderMathInElement(document.body, {
			delimiters: [
				{ left: "$$", right: "$$", display: true },
				{ left: "$", right: "$", display: false },
				{ left: "\\(", right: "\\)", display: false },
				{ left: "\\[", right: "\\]", display: true },
			],
			throwOnError: false,
		});
	}
});
