Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added support for escapes in tags #1

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

derammo
Copy link

@derammo derammo commented Jan 28, 2023

I tried to improve the ability to format the GPT output, for example I use these settings:

image

resulting in output like:

image

Since I am not a typescript guy, the code may be terrible, but could at least serve as inspiration for such a feature. So hack it up all you want and I won't be offended :)

implemented CR, LF, and TAB escapes
also trimming leading and trailing carriage returns from GPT output
latter should probably be a configurable option
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant