cinny icon indicating copy to clipboard operation
cinny copied to clipboard

LaTeX sending and rendering support

Open array-in-a-matrix opened this issue 1 year ago • 3 comments

Describe the problem

Cinny 2.X.X had unintentional support for sending and rendering messages containing LaTeX using markdown. The typescript rewrite has removed the side effect.

Describe the solution you'd like

It would be nice if offical LaTeX support was added as other clients have experimental support.

Alternatives considered

No response

Additional context

No response

array-in-a-matrix avatar Oct 28 '23 21:10 array-in-a-matrix

looks like the msc to officially support latex markup is in fcp now, may be a good time to revisit this? (https://github.com/matrix-org/matrix-spec-proposals/pull/2191) edit: has now been merged

RoblKyogre avatar Apr 12 '24 19:04 RoblKyogre

Latex support doesn't seem to have been unintentional. It was added with #345. Its removal in #1346 seems to have been accidental / unintentional but was apparently left to a later date to fix.

Interestingly, MSC2191 references Cinny as one of the implementations.

I would also very much appreciate this functionality to be fixed again, if that counts for anything. Imho it is a very relevant feature for many MINT-people who are more likely to use a tool like amtrix anyway as of now.

HAL20000 avatar Jun 04 '24 19:06 HAL20000

As far I understand parsing was removed in the refactor as detecting latex syntax in the middle of markdown is quite annoying as it's own language with escaping rules and what not. Why the rendering was later removed in #1460 however I'm not quite sure either.

ginnyTheCat avatar Aug 30 '24 23:08 ginnyTheCat