I made several text replacement that to replace some greek alphabet which were used in normal communication that I don’t have to switch to greek keyboard. However, in obsidian, I can use math input to insert several mathematic codes instead of using text replacement. By the way, using text replacement in the formula will make the format become strange.
I saw this function in Safari that user can choose whether enable or disable the text replacement. I hope obsidian can also support this feature.