I18nTeam/rst-markups
< I18nTeam
快速参考:翻译中 reStructuredText 标记
部分手册使用 RST 格式。此页面列出了 OpenStack 手册中使用的 RST 标记。翻译手册时应忽略这些标记。
| 姓名 | 示例 | 翻译示例 | 类似标记 |
|---|---|---|---|
| 笔记 |
.. note:: This is a sample string |
.. note:: 这是例句 |
caution::, important::, tip::, warning: |
| Image |
.. image:: figures/CFinterfaces.png |
.. image:: figures/CFinterfaces.png |
|
| 代码 |
.. code:: python
print("Hi")
|
.. code:: python
print("Hi")
|
|
| 行内标记 |
Set ``use_syslog = True`` |
设置 ``use_syslog = True`` |
`解释性文本` |
| 强烈强调 |
**Access the new database** |
**访问新数据库** |
*强调* |
| 命令 |
you can use the :command:`nova quota-*` commands |
你可以使用:command:`nova quota-*`命令 |
:option:,:samp |
| 文件名 |
the :file:`nova.conf` configuration file is installed in the :file:`/etc/nova` folder |
配置文件:file:`nova.conf`位于:file:`/etc/nova`目录 |
|
| 链接 |
see :ref:`hot_spec_intrinsic_functions` |
参见:ref:`hot_spec_intrinsic_functions` |
参考文献
如果您想了解更多关于 reStructuredText 标记的信息,请访问以下资源