Skip to content

Mathematical formulas are not displaying correctly #1884

@itmuse

Description

@itmuse

Here's a GitHub issue description in English:


Title: Mathematical formulas in selected text are not displaying correctly

Description:

When selecting text that contains mathematical formulas (LaTeX notation), the formulas fail to render properly in the display.

Example:

The following piecewise function should be rendered as a mathematical formula:

[
y = \begin{cases}
3x - 5, & x > 1 \
x + 2, & -1 \leq x \leq 1 \
5x + 3, & x < -1
\end{cases}
]

Expected Behavior:

Mathematical formulas wrapped in \[ \] or $ $ should be properly rendered when text is selected and displayed.

Actual Behavior:

The formulas are either not rendered at all or displayed as plain text/code, making them difficult to read and understand.

Suggestion:

It would be greatly appreciated if support for rendering mathematical formulas (LaTeX/MathJax) could be added to the text selection feature. This would significantly improve the user experience when working with technical or scientific content.

Environment:

  • Browser: [Chrome]
  • OS: [macOS 15.7.1 (24G231)]
  • Version: [Chrome Version 142.0.7444.135 ]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions