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

supports the display of line breaks in Markdown #148

Merged
merged 2 commits into from
Mar 29, 2023

Conversation

RugerMcCarthy
Copy link
Contributor

在Enter发送模式下,使用Meta+Enter对文本进行换行。并使ReactMarkdown组件正常显示换行符

@vercel
Copy link

vercel bot commented Mar 29, 2023

Someone is attempting to deploy a commit to a Personal Account owned by @Yidadaa on Vercel.

@Yidadaa first needs to authorize it.

@Yidadaa
Copy link
Collaborator

Yidadaa commented Mar 29, 2023

默认的行为是 Shift + Enter 键换行

@Yidadaa
Copy link
Collaborator

Yidadaa commented Mar 29, 2023

建议 input hints 增加 Shift + Enter 换行提示,我认为增加 Meta + Enter 换行逻辑后让控制流变得更复杂了,可能不会考虑接受此改动。

@RugerMcCarthy RugerMcCarthy changed the title feat: support line feed in enter send mode supports the display of line breaks in Markdown Mar 29, 2023
@RugerMcCarthy
Copy link
Contributor Author

建议 input hints 增加 Shift + Enter 换行提示,我认为增加 Meta + Enter 换行逻辑后让控制流变得更复杂了,可能不会考虑接受此改动。

fixed

app/locales/cn.ts Outdated Show resolved Hide resolved
@vercel
Copy link

vercel bot commented Mar 29, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
chat-gpt-next-web ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Mar 29, 2023 at 10:04AM (UTC)

@Yidadaa Yidadaa merged commit 525b5b8 into ChatGPTNextWeb:main Mar 29, 2023
@Yidadaa Yidadaa mentioned this pull request Mar 29, 2023
yxl pushed a commit to yxl/ChatGPT-Next-Web that referenced this pull request May 4, 2023
supports the display of line breaks in Markdown
ryiann pushed a commit to ryiann/ChatGPT that referenced this pull request Dec 1, 2023
[+] chore(route.ts): remove unused route file

Reason : that unused router are nodejs runtime not edge
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.

2 participants