Frontend LLM Output Handler
Goal
Enhance existing frontend code to support the rendering of complex LLM response strings.
- Input: Frontend code (JavaScript, React, TypeScript).
- Output: Enhanced frontend code with integrated capabilities for parsing Markdown, rendering LaTeX math formulas, and displaying interactive code blocks.
Dependencies
The implementation uses the following packages:
- Markdown:
marked - Math/LaTeX:
katex - Sanitization:
dompurify - **
[Description truncada. Veja o README completo no GitHub.]