Latex全文润色

This commit is contained in:
qingxu fu
2023-04-09 23:28:57 +08:00
parent 115c035ff8
commit ebf1055ff4
9 changed files with 180 additions and 50 deletions

View File

@@ -154,10 +154,12 @@ advanced_css = """
padding: 1em;
margin: 1em 2em 1em 0.5em;
}
"""
if CODE_HIGHLIGHT:
advanced_css += """
.hll { background-color: #ffffcc }
.c { color: #3D7B7B; font-style: italic } /* Comment */
.err { border: 1px solid #FF0000 } /* Error */