RTL and MathJax

Hi all :slight_smile:
Trying my luck again. Is it possible to somehow achieve LTR in between the code and MathJax blocks? It feels awkward to write code or formulas in RTL forums:

It should look like:

Anyway to achieve this?