Skip to content
New issue

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

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

Already on GitHub? # to your account

Code rendering only the middle of the code #84

Open
upnix opened this issue Dec 4, 2024 · 1 comment
Open

Code rendering only the middle of the code #84

upnix opened this issue Dec 4, 2024 · 1 comment

Comments

@upnix
Copy link

upnix commented Dec 4, 2024

Version: 2.4.37

Installed using pip on openSUSE Tumbleweed.

This is what I'm getting:
image

The first 3 or 4 lines aren't rendered as code, and then the trailing brace is also not rendered. It's not just Bash either:
image

I can't recreate this, however. I've tried different languages, different lengths of code, having lists and headings above and below the code. It seems to show up randomly, but once it shows up, it renders that way consistently.

I've also tried switching the renderer to "Markdown," which prevents pygpt from running at all.

I'll keep thinking about it, but, thought I'd open a bug to see if other idea came up.

@hfranco75
Copy link

It's still happening in version 2.5.7: most of the times, the code appears as formatted text, sometimes part of the code is rendered as text and part as code, but never with a correct formatting for contiguous text and code blocks in the output

Image

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants