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

Add support for markdown code blocks/syntax highlighting #521

Open
Azzeo opened this issue Oct 18, 2023 · 1 comment
Open

Add support for markdown code blocks/syntax highlighting #521

Azzeo opened this issue Oct 18, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request webapp Pull requests that update Typescript code

Comments

@Azzeo
Copy link

Azzeo commented Oct 18, 2023

There is currently no style applied to fenced code blocks. When the user submits a code block, there is no style applied and instead just shows the plain text. Furthermore, when the user asks for a piece of code (or a quote) in a fenced code, it is not rendered in the prompt response block. We all know this feature in the ChatGPT UI, where code/quotes are highlighted, with the addition of a copy button to easily copy the piece of code/quote

Example for Ruby:

def index
  puts "hello world"
end

(Github doesn't show the name of the programming language, but this is additionally shown by i.e., ChatGPT and Bard)

How it's currently rendered:

def index
puts "hello world"
end

@crickman
Copy link
Contributor

Thanks for reporting this. While chat-copilot does perform some formatting (markdown), this is a great scenario to identify.

@crickman crickman added enhancement New feature or request webapp Pull requests that update Typescript code labels Oct 23, 2023
@crickman crickman moved this to Backlog – Copilot UX in Apps & Services Semantic Kernel Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request webapp Pull requests that update Typescript code
Projects
No open projects
Status: Backlog – Copilot UX
Development

No branches or pull requests

3 participants