ChatGPTNextWeb / ChatGPT-Next-Web

A cross-platform ChatGPT/Gemini UI (Web / PWA / Linux / Win / MacOS). 一键拥有你自己的跨平台 ChatGPT/Gemini 应用。
https://app.nextchat.dev/
MIT License
76.62k stars 59.17k forks source link

[Bug] 生成markdown中公式都是有\[ 和 \] 或者 \( 和 \) 包含,如何更改为 $$ 包含公式模式 #5691

Open a6225301 opened 3 weeks ago

a6225301 commented 3 weeks ago

📦 部署方式

Docker

📌 软件版本

sha256:b2f35db6792e1aa8964d4d45fa72e1d63fe344e17ad88eaf1788085518bb6c34

💻 系统环境

Ubuntu

📌 系统版本

16.3

🌐 浏览器

Chrome

📌 浏览器版本

129.0

🐛 问题描述

生成markdown中公式都是有[ 和 ] 或者 ( 和 ) 包含,如何更改为 $$ 包含公式的模式。

样例:

实际输出:

  1. 拉格朗日插值法:用于通过已知数据点来构造一个多项式,使其通过所有这些点。例如,对于给定的 (n + 1) 个数据点 ((x_0, y_0), (x_1, y_1), \ldots, (x_n, y_n))

    期望输出:

    1. 拉格朗日插值法:用于通过已知数据点来构造一个多项式,使其通过所有这些点。例如,对于给定的 $n + 1$ 个数据点 $(x_0, y_0), (x_1, y_1), \ldots, (x_n, y_n)$

📷 复现步骤

No response

🚦 期望结果

No response

📝 补充信息

No response

Issues-translate-bot commented 3 weeks ago

Bot detected the issue body's language is not English, translate it automatically.


Title: [Bug] The formulas in generated markdown are all included by [ and ] or ( and ). How to change it to $$ including formula mode?

📦 Deployment method

Docker

📌 Software version

sha256:b2f35db6792e1aa8964d4d45fa72e1d63fe344e17ad88eaf1788085518bb6c34

💻 System environment

Ubuntu

📌 System version

16.3

🌐 Browser

Chrome

📌 Browser version

129.0

🐛 Problem description

Formulas in generated markdown are all included by [ and ] or ( and ). How to change it to $$ mode that includes formulas.

Example:

Actual output:

  1. Lagrangian Interpolation: Used to construct a polynomial from known data points so that it passes through all these points. For example, for the given (n + 1) data points ((x_0, y_0), (x_1, y_1), \ldots, (x_n, y_n))

    Expected output:

    1. Lagrangian Interpolation: Used to construct a polynomial from known data points so that it passes through all these points. For example, for the given $n + 1$ data points $(x_0, y_0), (x_1, y_1), \ldots, (x_n, y_n)$

📷 Steps to reproduce

No response

🚦 Expected results

No response

📝 Supplementary information

No response

a6225301 commented 3 weeks ago

您好,您的邮件我已收到,我会尽快回复。

Issues-translate-bot commented 3 weeks ago

Bot detected the issue body's language is not English, translate it automatically.


Hello, I have received your email and I will reply as soon as possible.