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

Code snippets are not blockquoted and syntax hilighted #1080

Open
tigert opened this issue May 13, 2024 · 0 comments
Open

Code snippets are not blockquoted and syntax hilighted #1080

tigert opened this issue May 13, 2024 · 0 comments

Comments

@tigert
Copy link

tigert commented May 13, 2024

Is your enhancement related to a problem? Please describe

While generating html content, I noticed the language model outputs Markdown syntax for a blockquote and document type for syntax hilighting:

image

However the output is not parsed for this and is thus shown as plain text.

Describe the solution you'd like

Would be nice to show a code block with syntax hilighting, and to offer a "copy code" link to copy the contents of the block to the clipboard.

ChatGPT for example does this:

image

Describe alternatives you've considered

No response

Additional context

No response

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

1 participant