Skip to content

Releases: DavG25/text-generation-webui-code_syntax_highlight

Version 1.3.1

08 May 20:31
Compare
Choose a tag to compare

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

02 Apr 01:27
Compare
Choose a tag to compare

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

06 Nov 23:28
Compare
Choose a tag to compare

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

11 Oct 12:52
cff36c0
Compare
Choose a tag to compare

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

04 Jun 14:48
Compare
Choose a tag to compare

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

03 May 22:48
Compare
Choose a tag to compare

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

02 May 23:59
Compare
Choose a tag to compare

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

24 Apr 00:53
Compare
Choose a tag to compare

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