ChatGPT currently doesn't highlight Clojure Syntax so I created this Chrome extension that does that. This extension automatically applies syntax highlighting to Clojure code blocks, making it easier to read and understand code snippets.
This extension is not affiliated with, endorsed by, or associated with ChatGPT, OpenAI, or any of their products or services.
- Automatically highlights Clojure code blocks in ChatGPT outputs.
- Utilizes Prism.js for syntax highlighting.
- Clean and modern design with a dark theme for better readability.
Here are some screenshots of the extension in action:
-
Clone the Repository
git clone https://github.com/yourusername/chatgpt-clojure-syntax-highlighter.git cd chatgpt-clojure-syntax-highlighter
-
Load the Extension in Chrome
- Go to
chrome://extensions/
in your Chrome browser. - Enable "Developer mode" by toggling the switch in the upper-right corner.
- Click on the "Load unpacked" button and select the directory where you cloned the repository.
- Go to
- Once the extension is loaded, navigate to ChatGPT and start using it as usual.
- Clojure code blocks will be automatically highlighted.
- Ensure you have the latest version of Node.js installed.
- To build and package the extension, simply zip the project directory:
zip -r chatgpt-clojure-syntax-highlighter.zip .
manifest.json
: The manifest file for the Chrome extension.content.js
: The content script that handles syntax highlighting.styles.css
: Custom styles for the extension.prism/
: Contains Prism.js library files.icons/
: Contains icon files for the extension.
Contributions are welcome! Please fork the repository and create a pull request with your changes.
- Fork the repository.
- Create a new branch:
git checkout -b my-branch-name
. - Make your changes and commit them:
git commit -m 'Add some feature'
. - Push to the branch:
git push origin my-branch-name
. - Submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
If you have any questions or suggestions just open an issue here.