You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, it is hard to prepare a notebook that is written in a right-to-left language (Hebrew, in my case, but also Arabic and Farsi), as the text is always formatted in a left-to-right manner.
The way this is implemented in Gmail is that according to the first letter of each line, the line is automatically LTR or RTL.
If this is implemented, the IPython Notebook will become a viable method for preparing python documentation and training material in Arabic, Farsi and Hebrew.
The text was updated successfully, but these errors were encountered:
Codemirror seem to support RTL and LTR mode.
Anything that is possible with codemirror should be with IPython.
Could you have a look at how codemirror behaves, and tell us if it this works for you, and/or which option of codemirror you need. We might be able to do something for it.
I am thinking about something along the line of this PO - codemirror/codemirror5#1103
I mean that the whole paragraph will be right-justified when it's in the LTR language.
It looks like CodeMirror supports including arabic/hebrew just fine, but I couldn't get it to right-justify the paragraph.
I can see it's also one of the issues raised here - https://bugzilla.mozilla.org/show_bug.cgi?id=816756
So maybe as it's a WIP it might improve, but for now I couldn't get it to right-align\right-justify the lines starting with hebrew letters.
Currently, it is hard to prepare a notebook that is written in a right-to-left language (Hebrew, in my case, but also Arabic and Farsi), as the text is always formatted in a left-to-right manner.
The way this is implemented in Gmail is that according to the first letter of each line, the line is automatically LTR or RTL.
If this is implemented, the IPython Notebook will become a viable method for preparing python documentation and training material in Arabic, Farsi and Hebrew.
The text was updated successfully, but these errors were encountered: