Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 919
Amir Avatar asked Jun 21 '18 18:06

Amir


People also ask

Is there r in Google Colab?

Maybe you knew this, maybe you didn't (or simply didn't care) but I read a post last night saying that you can create a Colab notebook using an R kernel. Now, in Runtime => Change runtime type it has an option to change from R to Python.

How do you go to the next line in Colab?

There are two options here either you can just press the “Enter” key and leave a line of space in the between or you can use the br tag also called a line break.

Can two people edit Google colab at the same time?

Up to 100: You can let up to 100 people with view, edit, or comment permissions work on a Google Docs, Sheets, or Slides file at the same time. 100 or more: When 100 people or more are accessing a file, only the owner and some users with editing permissions can edit the file.


1 Answers

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.

like image 103
Romi Kuntsman Avatar answered Oct 10 '22 10:10

Romi Kuntsman