Closed glinkot closed 7 months ago
I notice this project which could help with the syntax highlighting:
Copy to clipboard button added in 2.1.45. Thanks!
Code highlighting coming soon.
Another notable thing - the one I use applies the code highlighting in real time as the text comes through, rather than just once at the end. That's really useful as you watch it spool out.
I downloaded 2.1.46 that mentioned improved code formatting, but I didn't notice differences yet. Thanks so much for looking into it though!
Syntax highlighting added in 2.1.59:
This is awesome! Do you think it runs quickly enough that we could apply the highlight after each word or few words as it streams out of the API, rather than once at the end?
Also it would be good to put any unrecognised syntaxes into a monospaced code box rather than leaving the backticks (example of each shown)
This is awesome! Do you think it runs quickly enough that we could apply the highlight after each word or few words as it streams out of the API, rather than once at the end?
Thanks ;) And yes, real-time formatting in stream mode has just been added in version 2.1.61 (it also works for syntax highlighting).
Also added default syntax highlighting if no language is provided:
Would be nice to have two features on code (see screenshot from heyGPT, which has been abandoned but has been my go-to until I found pyGPT):