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?
Literal code blocks (ref) are introduced by ending a paragraph with the special marker :: . The literal block must be indented (and, like all paragraphs, separated from the surrounding ones by blank lines): This is a normal text paragraph.
RST stands for ReStructured Text. It is the standard markup language used for documenting python packages. Sphinx is the Python package that generates an html website from RST files, and it is what we are using to generate this site.
Use the pipe vertical line key as shown below
==== John ==== | .. image:: _static/john.JPG :alt: John :height: 300px :width: 400px
That should work.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With