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

Soft-wrap code blocks #517

Closed
afanjul opened this issue Apr 25, 2024 · 5 comments
Closed

Soft-wrap code blocks #517

afanjul opened this issue Apr 25, 2024 · 5 comments
Milestone

Comments

@afanjul
Copy link

afanjul commented Apr 25, 2024

Hi, is there any way to soft-wrap code blocks in the AI responses? If the response contains a code block the code (html or whatever) is pretty difficult to read because the lines are not wrapped. Could you please provide a way to activate the code blocks soft-wrap?

thanks

@enricoros
Copy link
Owner

image

@enricoros enricoros added this to the 1.16.0 milestone May 7, 2024
@enricoros enricoros mentioned this issue May 9, 2024
24 tasks
@afanjul
Copy link
Author

afanjul commented May 9, 2024

Many thanks @enricoros :-)
Is it possible to make an option to make it permanent by default? Its a bit tedious to keep pressing all the time...
Screenshot 2024-05-09 at 15 08 25

@enricoros
Copy link
Owner

What I can do is to remember its (pressed /unpressed) state and sync it across objects.
So every code block will be wrapped once you press it, basically. (And same if you unpress)

Would that work? (I'm always looking to Remove UI and options)

@afanjul
Copy link
Author

afanjul commented May 9, 2024

Would be much better, and i'm with you with the "too much options" filosofy ... thanks

@enricoros
Copy link
Owner

Would be much better, and i'm with you with the "too much options" filosofy ... thanks

Done, will be out in main tomorrow as source, and will be live in the next stable version.

pAkalpa pushed a commit to pAkalpa/big-AGI that referenced this issue Jun 4, 2024
pAkalpa pushed a commit to pAkalpa/big-AGI that referenced this issue Jun 4, 2024
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

No branches or pull requests

2 participants