ChatGPTNextWeb / ChatGPTNextWeb/NextChat

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

Open
#5,691 3 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
88.8k
Forks
59.1k
PR merge metrics
No merged PRs in 30d

Description

### 📦 部署方式

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_

Contributor guide

No contributing guide indexed for this repository

Research direction

No file, test, or entry point is identified, and the reproduction section is empty. Start by reproducing the generated Markdown in the stated Chrome environment and tracing the TypeScript Markdown-generation path; done means inline and display formulas use the requested delimiter style without breaking other Markdown.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.