Skip to content

Add Real-time Code Syntax Highlighting #19

@SyntaxSidekick

Description

@SyntaxSidekick

Title: Implement Syntax Highlighting in Code Editor and Examples
Labels: feature, ui/ux, code-editor, priority-high, milestone-2

Description:
Code is currently displayed as plain text, making it harder to read and understand.

Requirements:

  • Add JavaScript syntax highlighting to code editor
  • Highlight code in question examples
  • Highlight code in About Question tab examples
  • Syntax highlighting in console output when showing code
  • Error highlighting for invalid syntax

Technical Implementation:

  • Use Prism.js or Monaco Editor for syntax highlighting
  • Apply consistent theme across all code displays
  • Ensure mobile compatibility
  • Support for both light and dark themes

Benefits:

  • Improved code readability
  • Better learning experience
  • Professional appearance
  • Easier error spotting

Priority: High - Significantly improves user experience

Metadata

Metadata

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions