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