Skip to content

[Feature]: LaTeX rendering support #1784

@munael

Description

@munael

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I am describing a concrete problem or use case, not just a vague idea.

Area

apps/desktop

Problem or use case

I'd like math to be rendered in the chat history view (and in the message composition view if you're feeling adventurous). So $O(d)$ becomes $O(d)$. Same for $$\frac{T^3}{d}$$:

$$\frac{T^3}{d}$$

Proposed solution

I know of katex for this, but don't want to make recommendations. You'll find what's best more readily than I would I'm sure.

Why this matters

I'd like to use t3-code for less-coding oriented work. I need math rendered very, very often. I haven't even tested anything else in t3-code yet! 😅 Also need tables and general markdown support but that seems mostly in? Again, haven't tested everything. Also didn't see any issues mentioning math, latex, katex in the tracker so I was quite surprised.

Smallest useful scope

Full latex rendering support for the type of math expected to be output by current frontier models as part of the response, and not as latex code specifically.

Alternatives considered

Copy the response and render it in VSCode preview. Very cumbersome.

Risks or tradeoffs

No response

Examples or references

No response

Contribution

  • I would be open to helping implement this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementRequested improvement or new capability.needs-triageIssue needs maintainer review and initial categorization.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions