Skip to content

Comments

Render GPT response with react-markdown#8

Open
jh0ker wants to merge 1 commit intoFaustoNisida:mainfrom
jh0ker:main
Open

Render GPT response with react-markdown#8
jh0ker wants to merge 1 commit intoFaustoNisida:mainfrom
jh0ker:main

Conversation

@jh0ker
Copy link

@jh0ker jh0ker commented Mar 10, 2023

This is especially useful if one wants to use this for generating code

This is especially useful if one wants to use this for generating code
@jh0ker
Copy link
Author

jh0ker commented Mar 10, 2023

Might look into either making GPT note the programming language or somehow autodetecting it, that way it could be highlighted (see https://github.com/remarkjs/react-markdown#use-custom-components-syntax-highlight)

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

Successfully merging this pull request may close these issues.

1 participant