cotcotquedec commited on
Commit
cc5c78b
·
1 Parent(s): 35671e0

style(main): update syntax highlighting style to default

Browse files

Changed the syntax highlighting style from 'github' to 'default' in the `read_root` function to ensure consistent styling across different environments. This change affects the CSS used for code blocks in the generated HTML content, providing a more neutral appearance.

No functional impact on the application logic or performance.

Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -147,7 +147,7 @@ async def read_root():
147
  custom_css = css_file.read_text(encoding='utf-8') if css_file.exists() else ""
148
 
149
  # CSS pour la coloration syntaxique
150
- code_css = HtmlFormatter(style='github').get_style_defs('.codehilite')
151
 
152
  # Construction de la page HTML
153
  html_content = f"""
 
147
  custom_css = css_file.read_text(encoding='utf-8') if css_file.exists() else ""
148
 
149
  # CSS pour la coloration syntaxique
150
+ code_css = HtmlFormatter(style='default').get_style_defs('.codehilite')
151
 
152
  # Construction de la page HTML
153
  html_content = f"""