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.
🥰 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