Skip to content

issues with LaTeX rendering in agent response #6196

@zanesq

Description

@zanesq

Describe the bug

Two issues have come up from the KaTeX implementation

Unfortunately I don't have diagnostics or sessions to share because they are internal.

  1. treating _ as a subscript notation
Image

From users:
you'll want to escape any _ as _ in the markup

NOTE: potential fix opened but subsequently closed due to not having time to wrap it up, could be reopened and tested/verified cc @alex-ameen

  1. run on statements
Image

Please provide the following information

  • OS & Arch: [Mac ARM]
  • Interface: [UI]
  • Version: [v1.16.1]
  • Extensions enabled: [e.g. Computer Controller, Figma]
  • Provider & Model: [e.g. Google – gemini-1.5-pro]

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

Labels

mcpMCP/Extension relatedp2Priority 2 - Medium

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions