【发布时间】:2016-02-06 07:20:03
【问题描述】:
在 ipython 笔记本中,我们可以在 markdowns 中添加 html 标签。从右到左语言的一个有用标签是<p dir=rtl> text </p>,它可以方便地使文本右对齐。
有没有办法在 Jupyter 中添加 html 标签或从右到左的段落对齐?
【问题讨论】:
标签: python ipython-notebook right-to-left jupyter-notebook
在 ipython 笔记本中,我们可以在 markdowns 中添加 html 标签。从右到左语言的一个有用标签是<p dir=rtl> text </p>,它可以方便地使文本右对齐。
有没有办法在 Jupyter 中添加 html 标签或从右到左的段落对齐?
【问题讨论】:
标签: python ipython-notebook right-to-left jupyter-notebook
可以这样做:
<div style="direction:rtl"> Right-to-left text </div>
【讨论】: