Releases: DavG25/text-generation-webui-code_syntax_highlight
Version 1.3.1
Changes
- Fixed the "Reduce CPU usage by only highlighting after text generation ends" feature not working correctly with newer Gradio versions (reported in #11, merged in #12)
Tested on oobabooga/text-generation-webui@9c04365 and snapshot-2024-04-21
Notes
Starting from oobabooga/text-generation-webui@6761b5e (26th of April 2024), text-generation-webui supports syntax highlighting of code snippets by default without needing this extension
To install this version: download the archive code_syntax_highlight.zip
from below and extract it inside the ../text-generation-webui/extensions
folder
Version 1.3.0
Changes
- Fixed compatibility issues with Gradio version 4.23 (reported in #8, merged in #10)
- When clicking on the "Check for updates" button, the extension will now automatically check if a newer version is available on GitHub
Tested on oobabooga/text-generation-webui@1a7c027 and snapshot-2024-03-31
To install this version: download the archive code_syntax_highlight.zip
from below and extract it inside the ../text-generation-webui/extensions
folder
Version 1.2.0
Changes
- The "Reduce CPU usage by only highlighting after text generation ends" feature has been updated and is now functional again, it will also be enabled by default now (merged in #6)
- Extension settings can now be changed even while the web UI is generating text
- Minor improvements to the extension UI
Tested on oobabooga/text-generation-webui@1fba6db and snapshot-2023-11-05
To install this version: download the archive code_syntax_highlight.zip
from below and extract it inside the ../text-generation-webui/extensions
folder
Version 1.1.1
Changes
- Fixed an issue that caused the web UI to freeze after updating to Gradio version 3.47 (reported in #4, merged in #5)
- Temporarily disabled the "Reduce CPU usage by only highlighting after text generation ends" feature due to an issue with the detection of text generation, an update is being worked on to fix it
Tested on oobabooga/text-generation-webui@773c17f
To install this version: download the archive code_syntax_highlight.zip
from below and extract it inside the ../text-generation-webui/extensions
folder
Version 1.1.0
Changes
- Added toggleable copy to clipboard button in code snippets (suggested in #1, merged in #2)
- Updated highlight.js to version 11.8.0 (from version 11.7.0)
- Minor UX and UI improvements
Tested on oobabooga/text-generation-webui@19f7868
To install this version: download the archive code_syntax_highlight.zip
from below and extract it inside the ../text-generation-webui/extensions
folder
Version 1.0.2
Changes
- Updated theme detection to be compatible with both the latest (3.28.1) and older Gradio versions
- Updated code for added backward compatibility
Tested on oobabooga/text-generation-webui@60be76f
To install this version: download the archive code_syntax_highlight.zip
from below and extract it inside the ../text-generation-webui/extensions
folder
Version 1.0.1
Changes
- Fixed theme detection on the latest Gradio version (3.28.1)
- Removed unused code
Tested on oobabooga/text-generation-webui@d016c38
Notes
If you are running the Web UI on a commit prior to oobabooga/text-generation-webui@d016c38 or with an older Gradio version (like 3.25.0), please use version 1.0.0 of Code Syntax Highlight instead
To install this version: download the archive code_syntax_highlight.zip
from below and extract it inside the ../text-generation-webui/extensions
folder
Version 1.0.0
First release
Tested on oobabooga/text-generation-webui@9197d3f
To install this version: download the archive code_syntax_highlight.zip
from below and extract it inside the ../text-generation-webui/extensions
folder