【问题标题】:How to insert blank line using reStructuredText / Sphinx [duplicate]如何使用reStructuredText / Sphinx插入空白行[重复]
【发布时间】:2012-12-21 20:29:36
【问题描述】:

我想使用 ReStructuredText 在标题和图像之间添加一个空白行(或添加更多空白):

====
John 
====

.. image:: _static/john.JPG
   :alt: John
   :height: 300px
   :width: 400px

但我不知道怎么做?

【问题讨论】:

    标签: python python-sphinx restructuredtext


    【解决方案1】:

    如下图使用竖线键

       ====
       John 
       ====
    
       |
    
           .. image:: _static/john.JPG
               :alt: John
               :height: 300px
               :width: 400px
    

    应该可以的。

    【讨论】:

    • 这只能插入空格。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多