jupyter-notebookgoogle-colaboratory

How right to left (RTL) google colaboratory


Jupyter notebook can support RTL text [see here]. I want to know is there anyway to RTL text in Google Colabolatory? Unfortunately, there is no option in command palette to right to left text.


Solution

  • It's not possible to edit text in right-to-left, but it's possible to display it in a result of a cell:

    %%HTML
    <div dir=rtl>
    טקסט מיושר לימין, עם פסיקים וסימני שאלה. אפשרי?
    </div>
    

    It doesn't display correctly here on StackOverflow, but does display correctly in the cell output (i.e. after you run it) in Google Colab notebook.