2016-04-10 13:42:00 -05:00
|
|
|
Caption
|
|
|
|
=======
|
|
|
|
|
|
|
|
References
|
|
|
|
----------
|
|
|
|
|
2016-09-17 04:13:17 -05:00
|
|
|
See :numref:`name *test* rb` and :numref:`name **test** py`.
|
2016-04-10 13:42:00 -05:00
|
|
|
|
|
|
|
See :ref:`Ruby <name *test* rb>` and :ref:`Python <name **test** py>`.
|
|
|
|
|
2014-08-11 08:36:31 -05:00
|
|
|
|
|
|
|
Code blocks
|
|
|
|
-----------
|
|
|
|
|
|
|
|
.. code-block:: ruby
|
2014-09-18 22:04:25 -05:00
|
|
|
:caption: caption *test* rb
|
2014-08-11 08:36:31 -05:00
|
|
|
|
|
|
|
def ruby?
|
|
|
|
false
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
Literal Include
|
|
|
|
---------------
|
|
|
|
|
|
|
|
.. literalinclude:: literal.inc
|
|
|
|
:language: python
|
2014-09-18 22:04:25 -05:00
|
|
|
:caption: caption **test** py
|
2014-08-11 08:36:31 -05:00
|
|
|
:lines: 10-11
|
2016-04-10 13:42:00 -05:00
|
|
|
|
|
|
|
|
|
|
|
Named Code blocks
|
|
|
|
-----------------
|
|
|
|
|
|
|
|
.. code-block:: ruby
|
|
|
|
:name: name *test* rb
|
|
|
|
:caption: caption *test* rbnamed
|
|
|
|
|
|
|
|
def ruby?
|
|
|
|
false
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
Named Literal Include
|
|
|
|
---------------------
|
|
|
|
|
|
|
|
.. literalinclude:: literal.inc
|
|
|
|
:language: python
|
|
|
|
:name: name **test** py
|
|
|
|
:caption: caption **test** pynamed
|
|
|
|
:lines: 10-11
|
|
|
|
|