有没有办法在狮身人面像中使用RTL(从右到左,如波斯语,阿拉伯语......)文本?
从.rst文件生成html时,生成的html是LTR(默认情况下从左到右)并向左对齐,我的问题是我如何更改它,并使其成为RTL,并且正确对齐.
感谢您的回复.
我在rst中有一个表,我想在使用Sphinx编译为HTML时为其添加一个类.根据文档,.. class::在表之前添加一个指令应该将类添加到表中,而是添加一个定义列表.
表格代码是:
.. class:: special
== == ==
a b c
1 2 3
== == ==
Run Code Online (Sandbox Code Playgroud)
这导致:
<dl class="class">
<dt id="special">
<em class="property">class </em><code class="descname">special</code><a class="headerlink" href="#special" title="Permalink to this definition">¶</a></dt>
<dd></dd></dl>
<table border="1" class="docutils">
<colgroup>
<col width="33%" />
<col width="33%" />
<col width="33%" />
</colgroup>
<tbody valign="top">
<tr class="row-odd"><td>a</td>
<td>b</td>
<td>c</td>
</tr>
<tr class="row-even"><td>1</td>
<td>2</td>
<td>3</td>
</tr>
</tbody>
</table>
Run Code Online (Sandbox Code Playgroud)
我究竟做错了什么?我正在使用Sphinx 1.3.1