Debian Codegraph @

tests/roots/test-directive-code/caption.rst

raw
1 Caption
2 =======
3
4 References
5 ----------
6
7 See :numref:`name *test* rb` and :numref:`name **test** py`.
8
9 See :ref:`Ruby <name *test* rb>` and :ref:`Python <name **test** py>`.
10
11
12 Code blocks
13 -----------
14
15 .. code-block:: ruby
16 :caption: caption *test* rb
17
18 def ruby?
19 false
20 end
21
22
23 Literal Include
24 ---------------
25
26 .. literalinclude:: literal.inc
27 :language: python
28 :caption: caption **test** py
29 :lines: 10-11
30
31
32 Named Code blocks
33 -----------------
34
35 .. code-block:: ruby
36 :name: name *test* rb
37 :caption: caption *test* rbnamed
38
39 def ruby?
40 false
41 end
42
43
44 Named Literal Include
45 ---------------------
46
47 .. literalinclude:: literal.inc
48 :language: python
49 :name: name **test** py
50 :caption: caption **test** pynamed
51 :lines: 10-11
52