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

Markdown formatting issues & syntax highlighting #68

Closed
do-me opened this issue Dec 6, 2023 · 1 comment
Closed

Markdown formatting issues & syntax highlighting #68

do-me opened this issue Dec 6, 2023 · 1 comment

Comments

@do-me
Copy link

do-me commented Dec 6, 2023

Thanks a lot for this amazing project! It's insane seeing Llama2 with 246ms per token, 4.06 tokens per second on my old i7-8550U!

The UI is functional but I noted that it has a markdown parsing issue when there are comments in the code block. These are parsed as h3 tags instead of simple comments.

 Also, syntax highlighting would be really nice to have, especially for WizardCoder.

@jart
Copy link
Collaborator

jart commented Dec 6, 2023

Thanks for reporting this UX issue. llamafile-server came from the llama.cpp examples folder and we very much want to turn it into something that can be more than just an example. Code block formatting is one of many tricky challenges we're facing (see also #46) since sometimes it might not work at all. It's something that will improve and I'd welcome contributions from anyone who's willing to help make it improve sooner.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants