Skip to content

Add KaTeX math rendering for LaTeX in responses #12

@rdwj

Description

@rdwj

Render `\(...\)` and `\[...\]` LaTeX via KaTeX. Uses `katex.renderToString()` during content processing to avoid CSS conflicts.

Consider making this opt-in or lazy-loading on first math detection to avoid overhead for non-math agents.

Reference: tool-calling-demo
See UPSTREAM_PORT.md section 1.5.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions