在Jupyter中支持html标签和从右到左语言 [英] Support of html tags and right-to-left languages in Jupyter

查看:361
本文介绍了在Jupyter中支持html标签和从右到左语言的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在ipython笔记本中,我们可以在markdown内添加html标签. <p dir=rtl> text </p>是从右到左语言的有用标记,可以方便地使文本向右对齐.

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.

在Jupyter中是否可以添加html标签或从右到左的段落对齐方式?

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

推荐答案

可以这样做:

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

这篇关于在Jupyter中支持html标签和从右到左语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆