PythonFreeCourse / Notebooks

Learn Python for free using open-source notebooks in Hebrew.
Other
1.07k stars 210 forks source link

Hebrew paragraph direction isn't compatible with google colab #37

Open ophiry opened 4 years ago

ophiry commented 4 years ago

When opening a notebook using google colab (for example https://colab.research.google.com/github/PythonFreeCourse/Notebooks/blob/master/week1/1_Strings_and_Output.ipynb)

paragraph direction is ignored.

using:

<div dir=rtl>
Hebrew Text
</p>

does work

ophiry commented 4 years ago

image size are also ignored this doesn't work: <img src="images/warning.png" style="height: 50px !important;" alt="אזהרה!"> this does: <img src="images/warning.png" width=50 height=50 style="height: 50px !important;" alt="אזהרה!">

yammesicka commented 4 years ago

Awesome, thanks! Can you please send it as a PR? :)

udif commented 4 years ago

Until #39 is accepted, I have prepared the following gist as an interim solution to those who want an online Hebrew python resource:

https://gist.github.com/udif/b6276c958a76ebac4171f485260de4ac