mirror of
https://github.com/HKUDS/DeepTutor.git
synced 2026-12-05 03:29:35 +08:00
Add a Code blocks section to Settings → Appearance with one Prism theme dropdown and two toggles (line numbers, wrap long lines). Update RichCodeBlock to derive background/color from the selected Prism style via getCodeBlockThemeBackground, route plain text through SyntaxHighlighter so line numbers and wrapping stay consistent, and remove the hardcoded #1f2937 dark panel so light themes remain readable.