-
|
The sections Directives, Images, etc show the examples with ↓↓
.. function:: foo(x)
foo(y, z)
:module: some.module.name
Return a line of text input from the user.↓↓
.. code-block::
:caption: A cool example
The output of this line starts with four spaces.
↓↓
.. code-block::
The output of this line has no spaces at the beginning.↓↓
.. image:: gnu.png
(options)↓↓
.. image:: gnu.* |
Beta Was this translation helpful? Give feedback.
Answered by
timhoffm
Nov 8, 2025
Replies: 1 comment
-
|
This is just how reStructuredText has defined the directive syntax. Directives are block elements and the double dot is the marker that a directive starts. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
timhoffm
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is just how reStructuredText has defined the directive syntax. Directives are block elements and the double dot is the marker that a directive starts.