-
Notifications
You must be signed in to change notification settings - Fork 20
Description
Problem Statement
The "codeverter" website currently provides syntax highlighting only for output code snippets. However, there is no syntax highlighting for input code snippets. Incorporating syntax highlighting for the input code snippets would enhance the user experience by improving code readability and comprehension during the code conversion process.
Proposed Solution
I propose implementing syntax highlighting for input code snippets using a content editable div instead of a textbox. This approach would allow for better integration of syntax highlighting libraries and ensure consistent code presentation across both input and output sections.
Alternative Solutions
An alternative solution could involve using a third-party code editor component, such as Ace or Monaco, that offers built-in syntax highlighting and additional editing features. These editors can be embedded directly into the website, providing a feature-rich and consistent user experience.