feat: improved article generation, added code blocks

This commit is contained in:
2025-12-05 18:35:10 +01:00
parent ae757fbe70
commit 08a64ca6fc
5 changed files with 485 additions and 173 deletions

View File

@@ -106,3 +106,33 @@ a {
margin-left: auto;
margin-right: auto;
}
pre {
background-color: #000000;
color: #cccccc;
border: 1px solid #686bff;
padding: 10px;
overflow: auto;
font-family: "Courier New", Courier, monospace;
font-size: 14px;
margin-bottom: 15px;
}
pre code {
font-family: "Courier New", Courier, monospace;
}
.highlighter-rouge {
background-color: #000000;
color: #cccccc;
font-family: "Courier New", Courier, monospace;
padding-left: 3px;
padding-right: 3px;
border: 1px solid #333333;
}
.kwd { color: #ffff00; font-weight: bold; } /* Keywords: Yellow */
.str { color: #00ff00; } /* Strings: Green */
.com { color: #999999; font-style: italic; } /* Comments: Gray */
.num { color: #ff00ff; } /* Numbers: Magenta */
.typ { color: #00ffff; } /* Types/Classes: Cyan */