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

Incorrect rendering of triple-back-tick code blocks #1

Open
PerMildner opened this issue Dec 26, 2024 · 0 comments
Open

Incorrect rendering of triple-back-tick code blocks #1

PerMildner opened this issue Dec 26, 2024 · 0 comments

Comments

@PerMildner
Copy link

In 1.4 (and earlier), if the chat bot answers with code formatted using triple back-ticks, everything looks fine until the closing back ticks, at which time the output becomes a single unreadable line.

E.g. ask Llama 3.3 "Show me a simple hello world C program", the answer will start with (I have delimited it with BEGIN and END):
BEGIN
Hello World in C

#include <stdio.h>

int main() {
    printf("Hello, World!\n");
    return 0;
}

more text here
END

but the chat will show as in the screen dump
Screenshot 2024-12-26 at 16 54 59

# 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

1 participant