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

More complete preview of partial markdown #1010

Open
andersborgabiro opened this issue May 24, 2024 · 0 comments
Open

More complete preview of partial markdown #1010

andersborgabiro opened this issue May 24, 2024 · 0 comments

Comments

@andersborgabiro
Copy link

andersborgabiro commented May 24, 2024

For you to consider:

Regarding the behavior of smoothLivePreview:

When a code block is started using 3 back apostrophs showdown doesn't consider it a code block until explicitly terminated.

Could it be the default or a separate setting to also support incomplete blocks (whether code or something else). This would make e.g. responses from an LLM look much less "jumpy" (and less wrong) when streaming, where partial data is a given.

If you provide a pointer to where this would be handled I can take a look myself.

I thought this was similar, but it's not: #1000

Conversion to HTML otherwise works quite well, also for partial streamed data.

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