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

走远了吗. 提交于 2019-12-05 01:51:18

问题


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?


回答1:


It can be done like this:

<div style="direction:rtl"> Right-to-left text </div>


来源:https://stackoverflow.com/questions/35238470/support-of-html-tags-and-right-to-left-languages-in-jupyter

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!