math-with-slack icon indicating copy to clipboard operation
math-with-slack copied to clipboard

Double underscore converts to italic font

Open albinahlback opened this issue 4 years ago • 4 comments

On Linux, when writing two underscores for subscripts, it converts the text in between to italics and also removes the underscores. This is really hard to work with.

Example: a_1 y = z x_1 turns to a<1 y = z x>1 where <·> means it is written in italic, which also removes the support for displaying math.

Is it possible to override Slack on this?

albinahlback avatar Feb 05 '21 19:02 albinahlback

I can look into this. But to clarify, you meant that this occurs during typing ?

thisiscam avatar Feb 06 '21 20:02 thisiscam

I can look into this. But to clarify, you meant that this occurs during typing ?

Correct.

albinahlback avatar Feb 06 '21 21:02 albinahlback

I looked into this a bit, and seems like Mac has a different behavior compared to what you described in Linux. I can try with a Linux machine and see if I can reproduce.

In the mean time, can you try Preferences -> Advanced -> turn on "Format message with Markup"? This seems to turn off the auto formatting entirely, and (always) assume that you are writing markup. Does this satisfies your need?

thisiscam avatar Feb 07 '21 03:02 thisiscam

Yes, it does! Thank you!

albinahlback avatar Feb 07 '21 12:02 albinahlback