Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

[Feature] Live markdown rendering using rich #126

Merged
merged 1 commit into from Mar 15, 2023

Conversation

PRO-2684
Copy link
Contributor

@PRO-2684 PRO-2684 commented Mar 15, 2023

Simple modifications that live renders response.

image

#76

@PRO-2684 PRO-2684 changed the title [Feature] Live markdown using rich [Feature] Live markdown rendering using rich Mar 15, 2023
@acheong08 acheong08 merged commit 74ba3e6 into acheong08:master Mar 15, 2023
1 check passed
acheong08 pushed a commit that referenced this pull request Mar 15, 2023
@acheong08
Copy link
Owner

Doesn't work on MacOS and Linux for some reason

@PRO-2684
Copy link
Contributor Author

Doesn't work on MacOS and Linux for some reason

What's the output?

@acheong08
Copy link
Owner

Doesn't work on MacOS and Linux for some reason

What's the output?

Repeated output. It doesn't clear the previous ones

@PRO-2684
Copy link
Contributor Author

Doesn't work on MacOS and Linux for some reason

What's the output?

Repeated output. It doesn't clear the previous ones

It works well on my linux machine, whether ssh or locally. Maybe you are using an old terminal emulator that doesn't fully support the new features. For compatibility reasons though, we can add an argument for enabling/disabling the use of rich.

image

@acheong08
Copy link
Owner

Possibly my font. Yes, please reopen this with support for disabling it

@wukan1986
Copy link

@PRO-2684 感谢你提供Markdown格式的代码,但发现有一个问题,搜索 一些问题时,打印更新到一半,忽然又自动全删了,提示无法回答此问题。

@wukan1986
Copy link

wukan1986 commented Mar 16, 2023

@PRO-2684 如果自动全删的问题解决不了,可以考虑加一个命令,每次将当前的字符串存下来,可以切换上一条的输出是Markdown格式还是原始格式,以及之后的输出格式是什么

@PRO-2684
Copy link
Contributor Author

Since this PR is merged and can't be reopened, I'll start a new PR.

@PRO-2684
Copy link
Contributor Author

@acheong08 #138
@wukan1986 #138 现在 bing 尝试撤回时会保留原内容

image

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

Successfully merging this pull request may close these issues.

None yet

3 participants