summaryrefslogtreecommitdiffstats
path: root/tests/roots/test-directive-code/linenos.rst
blob: a8e5b69cdc3019635595df5ff8384c2e2ae16ea0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Literal Includes with Line Numbers
==================================

.. literalinclude:: literal.inc
   :language: python
   :linenos:

.. literalinclude:: literal.inc
   :language: python
   :lineno-start: 200

.. literalinclude:: literal.inc
   :language: python
   :lines: 5-9
   :lineno-match:

.. literalinclude:: empty.inc
   :lineno-match: