diff --git a/backend/src/main/resources/get/materiale.html b/backend/src/main/resources/get/materiale.html index e62d6a3..c1c0bf7 100644 --- a/backend/src/main/resources/get/materiale.html +++ b/backend/src/main/resources/get/materiale.html @@ -8,6 +8,7 @@ +
diff --git a/backend/src/main/resources/get/materiale.js b/backend/src/main/resources/get/materiale.js index 8922855..79b62b2 100644 --- a/backend/src/main/resources/get/materiale.js +++ b/backend/src/main/resources/get/materiale.js @@ -14,6 +14,10 @@ async function showfile(filename, target) { const markdownRaw = await response.text(); container.innerHTML = marked.parse(markdownRaw); + + if (window.MathJax) { + MathJax.typesetPromise([container]); + } } catch (error) { container.innerHTML = "Errore nel caricamento dell'appunto.
"; diff --git a/backend/src/main/resources/get/style.css b/backend/src/main/resources/get/style.css index 2ab2d5e..39b6f0f 100644 --- a/backend/src/main/resources/get/style.css +++ b/backend/src/main/resources/get/style.css @@ -284,7 +284,8 @@ footer a { } } /* --- Sezione Divulgativa --- */ -.appunti-style ul { +.appunti-style ul, +.appunti-style ol { padding-left: 1.5em; margin-top: 1.5em; margin-bottom: 1.5em; @@ -390,7 +391,7 @@ footer a { } .btn-appunto.active { - background: #4db8ff; + background: var(--accent-green); color: #0b0f19; }