still cooking like a pro (francesco)
All checks were successful
Deploy / trigger (push) Successful in 22s
All checks were successful
Deploy / trigger (push) Successful in 22s
This commit is contained in:
@@ -8,6 +8,7 @@
|
|||||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
||||||
<link rel="stylesheet" href="style.css">
|
<link rel="stylesheet" href="style.css">
|
||||||
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@@ -14,6 +14,10 @@ async function showfile(filename, target) {
|
|||||||
const markdownRaw = await response.text();
|
const markdownRaw = await response.text();
|
||||||
|
|
||||||
container.innerHTML = marked.parse(markdownRaw);
|
container.innerHTML = marked.parse(markdownRaw);
|
||||||
|
|
||||||
|
if (window.MathJax) {
|
||||||
|
MathJax.typesetPromise([container]);
|
||||||
|
}
|
||||||
|
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
container.innerHTML = "<p style='color:red'>Errore nel caricamento dell'appunto.</p>";
|
container.innerHTML = "<p style='color:red'>Errore nel caricamento dell'appunto.</p>";
|
||||||
|
|||||||
@@ -284,7 +284,8 @@ footer a {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* --- Sezione Divulgativa --- */
|
/* --- Sezione Divulgativa --- */
|
||||||
.appunti-style ul {
|
.appunti-style ul,
|
||||||
|
.appunti-style ol {
|
||||||
padding-left: 1.5em;
|
padding-left: 1.5em;
|
||||||
margin-top: 1.5em;
|
margin-top: 1.5em;
|
||||||
margin-bottom: 1.5em;
|
margin-bottom: 1.5em;
|
||||||
@@ -390,7 +391,7 @@ footer a {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.btn-appunto.active {
|
.btn-appunto.active {
|
||||||
background: #4db8ff;
|
background: var(--accent-green);
|
||||||
color: #0b0f19;
|
color: #0b0f19;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user