How to insert blank line using reStructuredText / Sphinx

14,743

Use the pipe vertical line key as shown below

   ====
   John 
   ====

   |

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

That should work.

Share:
14,743
xxks-kkk
Author by

xxks-kkk

"The Master in the art of living makes little distinction between his work and his play, his labor and his leisure, his mind and his body, his education and his recreation, his love and his religion. He hardly knows which is which. He simply pursues his vision of excellence in whatever he does, leaving others to decide whether he is working or playing. To him he is always doing both." -Zen Philosophy (found in Head to Head, L. Thurrow)

Updated on June 04, 2022

Comments

  • xxks-kkk
    xxks-kkk about 2 years

    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?

  • Heidi
    Heidi over 7 years
    This interts white space only.