Skip to content

Conversation

@amantiwari57
Copy link

This PR introduces a custom syntax highlighting feature that mimics the Visual Studio Code dark theme. It enhances the readability of code blocks in responses by applying accurate color tokens similar to how VSCode displays them.

  • Added color mappings for keywords, strings, functions, numbers, comments, etc.
  • Applied consistent styling for dark backgrounds.
  • Designed to improve UX for developers reading code outputs.
  • increased height of window from 600px to 800px to better fit the screen size

Closes #91 (if there's an open issue)
cheating-daddy

* Added Highlight.js version 11.9.0 for enhanced code highlighting capabilities.
* Introduced a new dark theme CSS for VSCode to improve code readability in dark mode.
* Updated Electron version to ^30.0.5 for improved stability.
* Added new dependencies including @modelcontextprotocol/sdk, accepts, ajv, body-parser, and others to enhance functionality.
* Updated various existing dependencies to their latest versions for better performance and security.
* Removed unnecessary dev flags from some dependencies.
* Updated the response container's CSS for improved code block appearance, including a new dark background and enhanced padding.
* Implemented detailed syntax highlighting for various programming languages using Highlight.js, improving readability and user experience.
* Added functionality to automatically detect and display the programming language in code blocks.
* Introduced a method to enhance code blocks with language-specific classes for better styling consistency.
* Increased default window height to improve user experience.
* Adjusted dynamic window height settings for various views to provide better layout consistency.
* Added Highlight.js and VSCode dark theme CSS for improved code block styling and syntax highlighting.
@vampirepapi
Copy link

cool

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEAT]: Change comments color to green

2 participants