ChatGPTNextWeb / ChatGPTNextWeb/NextChat

[Feature Request] Extract the rendered portion of the output content of the large model into a separate component

Open
#5,844 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
88.8k
Forks
59.1k
PR merge metrics
No merged PRs in 30d

Description

### 🥰 Feature Description

For the ChatGPT Next Web project, the content rendering component supports Markdown, mathematical formulas, HTML preview, and Mermaid diagram preview. I want to extract this into a standalone component for easier reuse in other projects. Furthermore, I'm interested in transforming it into a custom Gradio component. What files should I focus on, and how should I approach this task?

### 🧐 Proposed Solution

Strip away internationalization settings, icons, styling, full-screen mode, and other peripheral features, keeping only the core functionality.

### 📝 Additional Information

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.