Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Support of html tags and right-to-left languages in Jupyter

In ipython notebooks we could add html tags inside markdowns. A useful tag for right-to-left languages was <p dir=rtl> text </p> that conveniently made the text aligned to right.

Is there a way to add html tags or right-to-left paragraph alignment in Jupyter?

like image 340
Ali Avatar asked Feb 06 '16 07:02

Ali


People also ask

How do you write right to left in Jupyter?

Press Ctrl-Shift-F to bring up the command palette. Search for 'rtl' and select 'toggle rtl layout'. It should switch around. If the first language selected in your browser is Arabic or Hebrew, it currently selects RTL by default.

What languages are supported by Jupyter Notebook?

The Jupyter system supports over 100 programming languages (called “kernels” in the Jupyter ecosystem) including Python, Java, R, Julia, Matlab, Octave, Scheme, Processing, Scala, and many more. Out of the box, Jupyter will only run the IPython kernel, but additional kernels may be installed.

Does Jupyter Notebook support multiple languages?

Previously, you could only write code in one language within the same notebook for Spark workloads. With this feature enhancement to Jupyter notebooks, you can now switch between Python, Scala, SparkSQL, and R within the same Jupyter notebook and share data between cells via temporary tables.


1 Answers

It can be done like this:

<div style="direction:rtl"> Right-to-left text </div>
like image 117
Ali Avatar answered Oct 13 '22 20:10

Ali