Skip to content

added support for escapes in tags#1

Open
derammo wants to merge 1 commit into
jmilldotdev:mainfrom
derammo:derammo_format_tags
Open

added support for escapes in tags#1
derammo wants to merge 1 commit into
jmilldotdev:mainfrom
derammo:derammo_format_tags

Conversation

@derammo

@derammo derammo commented Jan 28, 2023

Copy link
Copy Markdown

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