How to insert blank line using reStructuredText / Sphinx

xxks-kkk picture xxks-kkk · Jan 8, 2013 · Viewed 12.4k times · Source

I want to add a blankline (or add more whitespace) between heading and the image using ReStructuredText:

====
John 
====

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

But I don't know how to do it?

Answer

Cyberdancer91 picture Cyberdancer91 · Oct 17, 2013

Use the pipe vertical line key as shown below

   ====
   John 
   ====

   |

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

That should work.