Feature: Introduce syntax highlighting in classic console app#13
Merged
Feature: Introduce syntax highlighting in classic console app#13
Conversation
Member
Author
Introduced a new `SyntaxHighlighter` class in `SyntaxHighlighter.cs` to handle syntax highlighting for different programming languages. This class includes a dictionary mapping languages to syntax rules, a method to display highlighted code, and a `SyntaxRule` class. Updated `InteractiveMode` and `Program` classes to use `SyntaxHighlighter` for displaying code with syntax highlighting instead of plain text. Added a user prompt to press any key at the end of the `InteractiveMode` method to improve user interaction.
a88aa28 to
4dc5d98
Compare
7a0b55e to
1b5cd52
Compare
These are specific to .NET, but it looks good universally.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


No description provided.