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

responsetext : fix markdown code block trimming #2232

Merged
merged 1 commit into from
Apr 18, 2024
Merged

Conversation

cebtenzzre
Copy link
Member

Test markdown:
```foo
foo
```
```
bar
```
```baz```

How GitHub renders it:

foo
bar

baz

How GPT4All renders it on main:
Screenshot 2024-04-17 at 14 20 43

How GPT4All renders it after this PR:
Screenshot 2024-04-17 at 14 21 32

Signed-off-by: Jared Van Bortel <jared@nomic.ai>
@cebtenzzre cebtenzzre requested a review from manyoso April 17, 2024 18:25
@manyoso manyoso merged commit be93ee7 into main Apr 18, 2024
6 of 10 checks passed
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.

None yet

2 participants